You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
What's going wrong?
After I installed latest npm package by npm install npm@latest -g
I got the following error when run any npm command:
module.js:471
throw err;
^
Error: Cannot find module 'delegates'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\nmtuan\AppData\Roaming\npm\node_modules\npm
node_modules\npmlog\node_modules\are-we-there-yet\tracker-stream.js:4:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
So, could you please help me to resolve it?
Note that I upgrade from 3.00 -> latest version of NPM
The text was updated successfully, but these errors were encountered:
You'll have to reinstall npm. I'm not sure why this would've happened and it's hard to figure out why, at this point. If you find that it's reproducible, please give us the details so we can look closer!
@zkat, how can I reinstall NPM?
I followed https://docs.npmjs.com/misc/removing-npm, but it still throws above error:
C:\Users\nmtuan>npm uninstall npm -g
module.js:471
throw err;
^
Error: Cannot find module 'delegates'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\nmtuan\AppData\Roaming\npm\node_modules\npm
node_modules\npmlog\node_modules\are-we-there-yet\tracker-stream.js:4:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
I'm opening this issue because:
What's going wrong?
After I installed latest npm package by
npm install npm@latest -g
I got the following error when run any npm command:
module.js:471
throw err;
^
Error: Cannot find module 'delegates'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\nmtuan\AppData\Roaming\npm\node_modules\npm
node_modules\npmlog\node_modules\are-we-there-yet\tracker-stream.js:4:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
So, could you please help me to resolve it?
Note that I upgrade from 3.00 -> latest version of NPM
The text was updated successfully, but these errors were encountered: