Npm 无法在El Capitan上安装phone gap

Npm 无法在El Capitan上安装phone gap,npm,osx-elcapitan,phonegap-cli,Npm,Osx Elcapitan,Phonegap Cli,我正在尝试CLI来安装phone gap,尽管无论我尝试什么,都会收到以下消息 Pauls-Air% sudo npm install -g phonegap@latest npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and

我正在尝试CLI来安装phone gap,尽管无论我尝试什么,都会收到以下消息

Pauls-Air% sudo npm install -g phonegap@latest
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
/usr/local/lib
└── (empty)

npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/Cellar/node/6.1.0/bin/node" "/usr/local/bin/npm" "install" "-g" "phonegap@latest"
npm ERR! node v6.1.0
npm ERR! npm  v3.8.6
npm ERR! path /usr/local/lib/node_modules/.staging/async-57de1878
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/async-57de1878' -> '/usr/local/lib/node_modules/phonegap/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/async-57de1878' -> '/usr/local/lib/node_modules/phonegap/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/paulmcguane/npm-debug.log
npm ERR! code 1


Pauls-Air% npm version
{ npm: '3.8.6',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '56.1',
  modules: '48',
  node: '6.1.0',
  openssl: '1.0.2h',
  uv: '1.9.0',
  v8: '5.0.71.35',
  zlib: '1.2.8' }
Pauls Air%sudo npm安装-gphonegap@latest
npm警告已弃用lodash@1.0.2:lodash@=v7.0。请尽快更新到优雅的fs@^4.0.0。使用“npm ls-fs”在树中查找它。
npm警告已弃用-fs@3.0.8:fs v3.0.0及之前版本将在节点版本>=v7.0时失败。请尽快更新到优雅的fs@^4.0.0。使用“npm ls-fs”在树中查找它。
/usr/local/lib
└── (空)
npm错误!达尔文15.0.0
npm错误!argv“/usr/local/ceral/node/6.1.0/bin/node”“/usr/local/bin/npm”“安装”“-g”phonegap@latest"
npm错误!节点v6.1.0
npm错误!npm v3.8.6
npm错误!path/usr/local/lib/node_modules/.staging/async-57de1878
npm错误!代码eNONT
npm错误!errno-2
npm错误!系统调用重命名
npm错误!eNote eNote:没有这样的文件或目录,重命名“/usr/local/lib/node_modules/.staging/async-57de1878”->”/usr/local/lib/node_modules/phonegap/node_modules/localtunnel/node_modules/request/node_modules/form data/node_modules/async”
npm错误!eNote eNote:没有这样的文件或目录,重命名“/usr/local/lib/node_modules/.staging/async-57de1878”->”/usr/local/lib/node_modules/phonegap/node_modules/localtunnel/node_modules/request/node_modules/form data/node_modules/async”
npm错误!但这很可能不是npm本身的问题
npm错误!eNONT,与npm无法找到文件有关。
npm错误!埃诺特
npm错误!请在任何支持请求中包括以下文件:
npm错误/Users/paulmcguane/npm-debug.log
npm错误!代码1
Pauls Air%npm版本
{npm:'3.8.6',
战神:“1.10.1-DEV”,
http_解析器:“2.7.0”,
重症监护病房:'56.1',
模块:“48”,
节点:“6.1.0”,
openssl:'1.0.2h',
紫外线:“1.9.0”,
v8:'5.0.71.35',
zlib:'1.2.8'}