When error occurs: “unsupported engine” while trying to update npm to 10.1. a solution is to use nvm.
It does not solve the underlying problem in itself but it is a workaround.
With nvm it is possible to manage node versions on the system and easily install and use more then one node version in parallel.
A list of useful nvm commands:
Link:
nvm ls // list installed node versionsnvm ls-remote // list available node versionsnvm install 10.1 // install node version 10.1nvm use 10.1 // use node version 10.1nvm alias default 10.1 // set node version 10.1 as default
Done.
Any Questions?
Contact me on any of my communication channels: