the command "npm" returns with an error

*

C:Usersxxxxx>npm module.js:471 throw err; ^

Error: Cannot find module 'semver' 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:UsersxxxxxAppDataRoamingnpmnode_modulesnpmlibutilsunsupported.js:2:>14) 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)

C:Usersxxxxx>


It's saying that it cannot find the module semver .

Try running npm install semver --save

链接地址: http://www.djcxy.com/p/33030.html

上一篇: JavaScript在堆2中创建内存时出现内存不足错误

下一篇: 命令“npm”返回一个错误