在项目本地目录中的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
如何解决此问题? (不删除节点模块的最佳方法)