炫意html5
最早CSS3和HTML5移动技术网站之一

求npm损坏处理办法

C:\Users\Admin>npm -v
internal/modules/cjs/loader.js:888
throw err;
^

Error: Cannot find module ‘are-we-there-yet’
Require stack:

  • E:\nodejs\node_global\node_modules\npm\node_modules\npmlog\log.js
  • E:\nodejs\node_global\node_modules\npm\bin\npm-cli.js
    [90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)[39m
    [90m at Function.Module._load (internal/modules/cjs/loader.js:730:27)[39m
    [90m at Module.require (internal/modules/cjs/loader.js:957:19)[39m
    [90m at require (internal/modules/cjs/helpers.js:88:18)[39m
    at Object.<anonymous> (E:\nodejs\node_global\node_modules\[4mnpm[24m\node_modules\[4mnpmlog[24m\log.js:2:16)
    [90m at Module._compile (internal/modules/cjs/loader.js:1068:30)[39m
    [90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)[39m
    [90m at Module.load (internal/modules/cjs/loader.js:933:32)[39m
    [90m at Function.Module._load (internal/modules/cjs/loader.js:774:14)[39m
    [90m at Module.require (internal/modules/cjs/loader.js:957:19)[39m {
    code: [32m’MODULE_NOT_FOUND'[39m,
    requireStack: [
    [32m’E:\nodejs\node_global\node_modules\npm\node_modules\npmlog\log.js'[39m,
    [32m’E:\nodejs\node_global\node_modules\npm\bin\npm-cli.js'[39m
    ]
    }

百度里面的方法都试过了,不可以啊

回答

重新安装node.js

炫意HTML5 » 求npm损坏处理办法

Java基础教程Android基础教程