downgrade to node version 12 code example
Example 1: how to downgrade node version
$ npm install -g n
$ n 6.10.3
Example 2: downgrade node version windows using npm
For window
nvm install v0.10.33
nvm use v0.10.33
$ npm install -g n
$ n 6.10.3
For window
nvm install v0.10.33
nvm use v0.10.33