downgrade from node 12 to 10 code example Example: how to downgrade node version $ npm install -g n $ n 6.10.3