TA的每日心情 | 擦汗 4 小时前 |
---|
签到天数: 527 天 连续签到: 4 天 [LV.9]测试副司令
|
1测试积点
问题:
求教ubuntu14.04中安装appnium失败
- /home/shujing/android/node-v6.6.0-linux-x64/lib
- hero-cli@0.0.1
- shujing@Test-ShuJing:~$ npm install -g appium
- npm WARN checkPermissions Missing write access to /home/shujing/android/node-v6.6.0-linux-x64/lib/node_modules/appium
- /home/shujing/android/node-v6.6.0-linux-x64/lib
- appium@1.6.0
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.12 (node_modules/appium/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.14: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- npm ERR! Linux 3.13.0-96-generic
- npm ERR! argv "/home/shujing/android/node-v6.6.0-linux-x64/bin/node" "/usr/local/bin/npm" "install" "-g" "appium"
- npm ERR! node v6.6.0
- npm ERR! npm v3.10.8
- npm ERR! path /home/shujing/android/node-v6.6.0-linux-x64/lib/node_modules/appium
- npm ERR! code EACCES
- npm ERR! errno -13
- npm ERR! syscall access
- npm ERR! Error: EACCES: permission denied, access '/home/shujing/android/node-v6.6.0-linux-x64/lib/node_modules/appium'
- npm ERR! at Error (native)
- npm ERR! { Error: EACCES: permission denied, access '/home/shujing/android/node-v6.6.0-linux-x64/lib/node_modules/appium'
- npm ERR! at Error (native)
- npm ERR! errno: -13,
- npm ERR! code: 'EACCES',
- npm ERR! syscall: 'access',
- npm ERR! path: '/home/shujing/android/node-v6.6.0-linux-x64/lib/node_modules/appium' }
- npm ERR!
- npm ERR! Please try running this command again as root/Administrator.
- npm ERR! Please include the following file with any support request:
- npm ERR! /home/shujing/npm-debug.log
- shujing@Test-ShuJing:~$ sudo npm install -g appium
- [sudo] password for shujing:
- /home/shujing/android/node-v6.6.0-linux-x64/bin/appium -> /home/shujing/android/node-v6.6.0-linux-x64/lib/node_modules/appium/build/lib/main.js
- /home/shujing/android/node-v6.6.0-linux-x64/lib
- appium@1.6.0
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.12 (node_modules/appium/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.14: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
复制代码
|
|