还未发布过话题
  • #52 楼 @xcsky 已解决,怀疑原因是被墙的原因导致不能正常下载,另换了个 *** 再装就装好了。谢谢大家

  • 楼主大神及各位大神,求教下,安装失败,报错:Invalid or unsupported zip format. No END header found,有碰到过的吗,要怎么解决?感谢

    $ npm config set registry=http://registry.npmjs.org

    $ npm install -g appium

    /usr/local/bin/appium -> /usr/local/lib/node_modules/appium/build/lib/main.js
    /usr/local/bin/authorize-ios -> /usr/local/lib/node_modules/appium/node_modules/.bin/authorize-ios
    
    > appium-chromedriver@2.9.2 install /usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-chromedriver
    > node install-npm.js
    
    info Chromedriver Install Installing Chromedriver version '2.21' for platform 'mac' and architecture '32'
    info Chromedriver Install Opening temp file to write chromedriver_mac32 to...
    info Chromedriver Install Downloading http://chromedriver.storage.googleapis.com/2.21/chromedriver_mac32.zip...
    info Chromedriver Install Writing binary content to /var/folders/50/xqp4_clx0llb18dcw2jtqngw0000gp/T/2016910-26076-x86shc.nxm6nd0a4i/chromedriver_mac32.zip...
    info Chromedriver Install Extracting /var/folders/50/xqp4_clx0llb18dcw2jtqngw0000gp/T/2016910-26076-x86shc.nxm6nd0a4i/chromedriver_mac32.zip to /var/folders/50/xqp4_clx0llb18dcw2jtqngw0000gp/T/2016910-26076-x86shc.nxm6nd0a4i/chromedriver_mac32
    Invalid or unsupported zip format. No END header found
    /usr/local/lib
    └── (empty)
    
    npm ERR! Darwin 16.0.0
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "appium"
    npm ERR! node v6.7.0
    npm ERR! npm  v3.10.3
    npm ERR! code ELIFECYCLE
    
    npm ERR! appium-chromedriver@2.9.2 install: `node install-npm.js`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the appium-chromedriver@2.9.2 install script 'node install-npm.js'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the appium-chromedriver package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     node install-npm.js
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs appium-chromedriver
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls appium-chromedriver
    npm ERR! There is likely additional logging output above.
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     /Users/chenjiwang/appium_github_code/appium/npm-debug.log
    npm ERR! code 1