How to solve npm command error?
110.2 هزار بار بازدید -
7 سال پیش
-
If you get the following
If you get the following error for npm then the following video might be helpful for solving the error:
C:\Users\me'>npm -v
module.js:340
throw err;
^
Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\node_modules\npm\bin\npm-cli.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
C:\Users\me'>npm -v
module.js:340
throw err;
^
Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\node_modules\npm\bin\npm-cli.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
7 سال پیش
در تاریخ 1396/09/16 منتشر شده
است.
110,267
بـار بازدید شده