专用模块npm安装错误

时间:2018-06-28 11:26:08

标签: npm npm-install node-modules

在项目本地目录中的npm install之后,出现了这样的错误日志

npm ERR! code ENOLOCAL
npm ERR! Could not install from "..{path}" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/home/.npm/_logs/2018-06-28T11_13_56_437Z-debug.log

如何解决此问题? (不删除节点模块的最佳方法)

0 个答案:

没有答案