Issue : npm version mismatches command line vs control panel
When i tried to upgrade the npm using the command [email protected]
, thrown the error as npm throws 'npm-windows-upgrade' is not recognized as an internal or external command,
But surprisingly when i go and check in the control panel under the features and programs i see the version as 10.15.1,but when i checked via command line the version shows as 6.4.1.
Note : I have set system variable path as
See the below screenshots as well as log file C:\Users\xxxx\AppData\Roaming\npm-cache_logs
Thanks, Raj
You are confused between Nodejs version and npm version. Nodejs is v 10.15.1 and npm is v 6.4.1. Both are not same and their versions are different.