npm install express-generator

时间:2018-07-28 17:44:48

标签: express npm

我正在尝试安装Express Node-Postgres应用程序,但出现以下错误:

module.js:549
throw err;
^

Error: Cannot find module 'sorted-object'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/express- 
generator/bin/express-cli.js:10:20)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)

我不确定该去哪里寻找该错误的解决方案。我应该删除并重新安装node和npm还是比这更简单?

0 个答案:

没有答案