您的位置:首页 > 产品设计 > 产品经理

npm install 总是报错,“npm ERR! tar.unpack……”

2017-04-20 15:03 357 查看
在线安装appium时,执行npm --registry http://registry.cnpmjs.org install -g appium
总是报错,“npm ERR! tar.unpack……”

卸载掉node.js后,重新下载个最新版本的node.js, 再执行npm --registry http://registry.cnpmjs.org install -g appium。
出错了一次,继续执行一遍。ok

C:\Users\Administrator>appium-doctor
Running Android Checks
ANDROID_HOME is set to "D:\Java\adt-bundle-windows-x86_64-20140321\sdk"
JAVA_HOME is set to "D:\Program Files\Java\jdk1.8.0_40."
ADB exists at D:\Java\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe
Android exists at D:\Java\adt-bundle-windows-x86_64-20140321\sdk\tools\android.bat
Emulator exists at D:\Java\adt-bundle-windows-x86_64-20140321\sdk\tools\emulator.exe
Android Checks were successful.

All Checks were successful

C:\Users\Administrator>appium
info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: