【发布时间】:2018-01-10 23:41:18
【问题描述】:
npm install cordova-android@5.2.2 失败并显示如下
npm ERR! path /Users/Barry/Desktop/demo/node_modules/npm/node_modules/dezalgo
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/Users/Barry/Desktop/demo/node_modules/npm/node_modules/dezalgo' -> '/Users/Barry/Desktop/demo/node_modules/npm/node_modules/.dezalgo.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Barry/.npm/_logs/2018-01-10T23_36_50_656Z-debug.log
确实目录不存在,但我从未安装过这个包,也不知道它是什么(我假设它是依赖项)它也没有列在我的 package.json 中
请帮忙
提前致谢
【问题讨论】:
标签: cordova npm npm-install