npm install -g appium
ERR! fetch failed https://registry.npmjs.org/appium-uiauto/-/appium-uiauto-1.10.8.tgz
ERR! fetch failed https://registry.npmjs.org/appium-instruments/-/appium-instruments-2.0.5.tgz
> udidetect@1.0.7 install /usr/local/homebrew/lib/node_modules/appium/node_modules/udidetect
> make
gcc -o udidetect -framework CoreFoundation -framework MobileDevice -F/System/Library/PrivateFrameworks udidetect.c
> bufferutil@1.1.0 install /usr/local/homebrew/lib/node_modules/appium/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
SOLINK_MODULE(target) Release/bufferutil.node: Finished
> utf-8-validate@1.1.0 install /usr/local/homebrew/lib/node_modules/appium/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
SOLINK_MODULE(target) Release/validation.node: Finished
/
> appium-chromedriver@2.1.3 install /usr/local/homebrew/lib/node_modules/appium/node_modules/appium-chromedriver
> node install-npm.js
info Chromedriver Install Opening temp file to write chromedriver_mac32 to…
info Chromedriver Install Downloading http://chromedriver.storage.googleapis.com/2.15/chromedriver_mac32.zip…
info Chromedriver Install Writing binary content to /var/folders/nh/bbb6t02j2vv61tbpmdx7rvhr0000gn/T/115727-1051-1o6g4ly/chromedriver_mac32.zip…
info Chromedriver Install Extracting /var/folders/nh/bbb6t02j2vv61tbpmdx7rvhr0000gn/T/115727-1051-1o6g4ly/chromedriver_mac32.zip to /var/folders/nh/bbb6t02j2vv61tbpmdx7rvhr0000gn/T/115727-1051-1o6g4ly/chromedriver_mac32
info Chromedriver Install Creating /usr/local/homebrew/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac…
info Chromedriver Install Copying unzipped binary, reading from /var/folders/nh/bbb6t02j2vv61tbpmdx7rvhr0000gn/T/115727-1051-1o6g4ly/chromedriver_mac32/chromedriver…
info Chromedriver Install Writing to /usr/local/homebrew/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver…
info Chromedriver Install /usr/local/homebrew/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver successfully put in place
/usr/local/homebrew/bin/appium -> /usr/local/homebrew/lib/node_modules/appium/bin/appium.js
/usr/local/homebrew/bin/authorize_ios -> /usr/local/homebrew/lib/node_modules/appium/bin/authorize-ios.js
/usr/local/homebrew/bin/appium-doctor -> /usr/local/homebrew/lib/node_modules/appium/bin/appium-doctor.js
appium@1.4.10 /usr/local/homebrew/lib/node_modules/appium
├── camel-back-promise@1.0.0
├── vargs@0.1.0
├── win-spawn@2.0.0
├── bytes@1.0.0
├── path@0.11.14
├── stack-trace@0.0.9
├── bufferpack@0.0.6
├── utf7@1.0.0
├── rimraf@2.2.8
├── uuid-js@0.7.5
├── through@2.3.8
├── longjohn@0.2.7
├── node-idevice@0.1.5
├── bplist-parser@0.1.0
├── xmldom@0.1.19
├── node-uuid@1.4.3
├── q@1.1.2
├── js2xmlparser2@0.2.0
├── ncp@2.0.0
├── async@0.9.2
├── underscore@1.8.3
├── xpath@0.0.9
├── colors@1.0.3
├── adm-zip@0.4.7
├── safari-launcher@2.0.5
├── temp@0.8.3 (os-tmpdir@1.0.1)
├── sandboxed-module@2.0.2 (require-like@0.1.2)
├── underscore.string@3.0.3
├── mv@2.0.3 (ncp@0.6.0)
├── es6-promise@2.3.0
├── appium-atoms@0.0.5
├── udidetect@1.0.7
├── date-utils@1.2.17
├── bplist-creator@0.0.6 (stream-buffers@2.2.0)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── appium-support@1.1.2 (bluebird@2.9.34, lodash@3.10.1)
├── which@1.1.1 (is-absolute@0.1.7)
├── difflib@0.2.4 (heap@0.2.6)
├── serve-favicon@2.2.1 (fresh@0.2.4, ms@0.7.1, parseurl@1.3.0, etag@1.6.0)
├── method-override@2.3.5 (methods@1.1.1, vary@1.0.1, parseurl@1.3.0, debug@2.2.0)
├── morgan@1.5.3 (basic-auth@1.0.3, depd@1.0.1, on-finished@2.2.1, debug@2.2.0)
├── touch@0.0.3 (nopt@1.0.10)
├── argparse@1.0.2 (sprintf-js@1.0.3, lodash@3.10.1)
├── winston@0.9.0 (cycle@1.0.3, eyes@0.1.8, isstream@0.1.2, pkginfo@0.3.0)
├── namp@0.2.25 (highlight.js@8.7.0)
├── prompt@0.2.14 (revalidator@0.1.8, pkginfo@0.3.0, read@1.0.6, winston@0.8.3, utile@0.2.1)
├── xml2js@0.4.10 (sax@1.1.1, xmlbuilder@2.6.4)
├── ws@0.7.2 (options@0.0.6, ultron@1.0.2, bufferutil@1.1.0, utf-8-validate@1.1.0)
├── glob@4.4.2 (inherits@2.0.1, once@1.3.2, inflight@1.0.4, minimatch@2.0.10)
├── appium-uiauto@1.10.8 (winston@0.8.3, argparse@0.1.16)
├── body-parser@1.12.4 (content-type@1.0.1, depd@1.0.1, qs@2.4.2, iconv-lite@0.4.8, on-finished@2.2.1, debug@2.2.0, raw-body@2.0.2, type-is@1.6.6)
├── express@4.11.2 (methods@1.1.1, fresh@0.2.4, merge-descriptors@0.0.2, utils-merge@1.0.0, vary@1.0.1, cookie@0.1.2, escape-html@1.0.1, range-parser@1.0.2, cookie-signature@1.0.5, parseurl@1.3.0, finalhandler@0.3.3, media-typer@0.3.0, serve-static@1.8.1, content-disposition@0.5.0, path-to-regexp@0.1.3, depd@1.0.1, qs@2.3.3, etag@1.5.1, on-finished@2.2.1, proxy-addr@1.0.8, send@0.11.1, debug@2.1.3, type-is@1.5.7, accepts@1.2.12)
├── plist@1.1.0 (util-deprecate@1.0.0, base64-js@0.0.6, xmlbuilder@2.2.1)
├── binary-cookies@0.1.1 (path@0.4.10, colors@0.6.2, async@0.2.10, underscore@1.4.4, argparse@0.1.16, winston@0.6.2)
├── md5calculator@0.0.3 (crypto@0.0.3, elementtree@0.1.3, unzip@0.1.8)
├── unzip@0.1.11 (setimmediate@1.0.2, pullstream@0.4.1, readable-stream@1.0.33, fstream@0.1.31, match-stream@0.0.2, binary@0.3.0)
├── appium-instruments@2.0.5 (underscore@1.7.0, appium-support@1.0.3, winston@0.8.3)
├── npmlog@1.1.0 (ansi@0.3.0, are-we-there-yet@1.0.4, gauge@1.1.0)
├── request@2.53.0 (caseless@0.9.0, forever-agent@0.5.2, aws-sign2@0.5.0, form-data@0.2.0, stringstream@0.0.4, oauth-sign@0.6.0, tunnel-agent@0.4.1, isstream@0.1.2, json-stringify-safe@5.0.1, qs@2.3.3, tough-cookie@2.0.0, combined-stream@0.0.7, mime-types@2.0.14, http-signature@0.10.1, hawk@2.3.1, bl@0.9.4)
├── grunt-cli@0.1.13 (resolve@0.3.1, nopt@1.0.10, findup-sync@0.1.3)
├── grunt@0.4.5 (which@1.0.9, dateformat@1.0.2-1.2.3, eventemitter2@0.4.14, getobject@0.1.0, colors@0.6.2, async@0.1.22, hooker@0.2.3, grunt-legacy-util@0.2.0, exit@0.1.2, lodash@0.9.2, underscore.string@2.2.1, coffee-script@1.3.3, iconv-lite@0.2.11, nopt@1.0.10, grunt-legacy-log@0.1.2, minimatch@0.2.14, glob@3.1.21, js-yaml@2.0.5, findup-sync@0.1.3)
├── swig@1.4.2 (optimist@0.6.1, uglify-js@2.4.24)
├── socket.io@1.3.6 (has-binary-data@0.1.3, debug@2.1.0, socket.io-parser@2.2.4, socket.io-adapter@0.3.1, engine.io@1.5.2, socket.io-client@1.3.6)
├── node-simctl@2.1.0 (babel-runtime@5.5.5, source-map-support@0.2.10, asyncbox@2.1.0, appium-logger@1.1.7, teen_process@1.3.0, npmlog@1.2.1, es6-mapify@1.0.0)
├── appium-adb@1.7.5 (underscore@1.6.0, ncp@0.5.1, q@1.0.1, appium-support@0.0.3, winston@0.7.3)
├── appium-xcode@2.0.5 (denodeify@1.2.1, q@1.4.1, lodash@3.10.1, babel-runtime@5.5.5, source-map-support@0.2.10, npmlog@1.2.1, asyncbox@2.1.0)
└── appium-chromedriver@2.1.3 (is-os@1.0.0, q@1.4.1, lodash@3.10.1, babel-runtime@5.5.5, ps-node@0.0.4, source-map-support@0.3.2, appium-jsonwp-proxy@1.2.4, teen_process@1.3.0, request-promise@0.4.3, rimraf@2.4.2, request@2.60.0, appium-logger@1.1.7, asyncbox@2.1.0)
huangxiaoshideMac-mini:~ huangxiaoshi$ appium -v
1.4.10
huangxiaoshideMac-mini:~ huangxiaoshi$ appium
warn: Appium support for versions of node < 0.12 has been deprecated and will be removed in a future version. Please upgrade!
info: Welcome to Appium v1.4.10 (REV c97e824665ae82df682a0b540b38dfe8c13c8ac7)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
手机扫一扫
移动阅读更方便
你可能感兴趣的文章