Node.js - 每个npm命令都会出错

时间:2016-10-10 10:17:46

标签: node.js npm

C:\Users\Tim>npm
module.js:327
    throw err;
    ^

Error: Cannot find module 'process-nextick-args'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (C:\Users\Tim\AppData\Roaming\npm\node_modules\npm\node_modules\readable-stream\lib\_stream_readable.js:6:23)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)

我有Windows 10 64位。我安装了最新版本的node.js两次,但错误仍然相同。

0 个答案:

没有答案