felixrieseberg/npm-windows-upgrade

Npm not getting installed on Window 10

akshaygpt opened this issue · 0 comments

PS C:\WINDOWS\system32> npm install --global --production npm-windows-upgrade
module.js:472
throw err;
^

Error: Cannot find module '../lib/utils/unsupported.js'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at C:\Users\Akshay\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js:19:21
at Object. (C:\Users\Akshay\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js:79:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)