how to downgrade node version to 10 code example
Example 1: node downgrade windows
npm install -g node@<version>
Example 2: how to downgrade node version
$ npm install -g n
$ n 6.10.3
npm install -g node@<version>
$ npm install -g n
$ n 6.10.3