我尝试在我的应用上安装@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