无法安装任何npm软件包,导致找不到文件/目录错误

时间:2018-06-09 13:00:27

标签: node.js npm ionic-native

我尝试在我的应用上安装@ionic-native/http但是在运行npm install @ionic-native/http --save时我得到了这个输出:

npm ERR! path /Applications/MAMP/htdocs/Apps/mmcalc/node_modules/npm/node_modules/async-some
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/Applications/MAMP/htdocs/Apps/mmcalc/node_modules/npm/node_modules/async-some' -> '/Applications/MAMP/htdocs/Apps/mmcalc/node_modules/npm/node_modules/.async-some.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/jscotto/.npm/_logs/2018-06-09T12_57_28_828Z-debug.log

0 个答案:

没有答案