想用ionic开发客户端,用npm安装,死活安装不了,不管翻墙不翻墙,怎么办
发布于 8天前 作者 liygheart 233 次浏览 来自 问答

翻墙用的是shadowsocks 日本的ip 终端报错:

npm ERR! tar.unpack untar error /tmp/npm-2435-53efd37e/registry.npmjs.org/npm/-/npm-2.1.3.tgz
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "ionic"
npm ERR! node v0.12.5
npm ERR! npm  v2.11.2

npm ERR! unexpected eof
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

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

求解决办法

3 回复

clone代码后,执行npm link

@i5ting clone的地址是啥?我没找到,能麻烦帮我找下吗?谢谢了

完全一样的问题。之前用ionic好好的,之后升级遇到点问题,uninstall之后,再也装不上了。。换代理,源都试过了

回到顶部