在按照THIS THREADnpm i
运行命令后,我遇到了这个问题。现在,当我尝试为我的项目安装各种依赖项时,我遇到了一堆错误:
λ npm 安装 -g
npm WARN D:\ITC\node_modules\@microsoft\sp-lodash-subset\node_modules\lodash 不是 C:\Users\xxxxx\AppData\Roaming\npm 的子项
npm 错误!路径 D:\ITC\node_modules\@microsoft\sp-lodash-subset\node_modules\lodash
npm 错误!代码ENOENT
npm 错误!错误号 -4058
npm 错误!系统调用重命名
npm 错误!enoent ENOENT:没有这样的文件或目录,重命名 'D:\ITC\node_modules\@microsoft\sp-lodash-subset\node_modules\lodash' -> 'D:\ITC\node_modules\@microsoft\sp-lodash-subset\ node_modules.lodash.DELETE' npm 错误!enoent 这与 npm 找不到文件有关。
npm 错误!恩恩
npm 错误!可以在以下位置找到此运行的完整日志:
npm 错误!
C:\Users\xxxxx\AppData\Roaming\npm-cache_logs\2017-07-26T12_26_10_273Z-debug.log