Cordova npm安装失败,缺少dezalgo
npm安装cordova-android@5.2.2在下面失败Cordova npm安装失败,缺少dezalgo,cordova,npm,npm-install,Cordova,Npm,Npm Install,npm安装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/Deskt
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中
请帮忙
提前感谢我在尝试使用npm安装来安装axios时遇到了相同的错误--在create react应用程序上保存axios 在my
package.json中手动添加axios
“依赖项”:{
“axios”:“^0.17.1”,
...
},
并且做:
rm-Rf节点模块
然后重新安装软件包:
npm安装
为我工作
我想,NPM中的某些东西肯定是不可靠的。谢谢,我没有axios,但我也尝试了你的过程,但这对我不起作用。。我最后也犯了同样的错误