Appium react@~15.3.1 編輯記錄

來源:互聯網
上載者:User

標籤:appium [email protected]~15.3.1

\

 npm install -save [email protected]~15.3.1

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-xcuitest-driver/node_modules

[email protected] /usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-xcuitest-driver

└─┬ [email protected] 

  ├─┬ [email protected] 

  │ ├── [email protected] 

  │ ├─┬ [email protected] 

  │ │ ├─┬ [email protected] 

  │ │ │ ├─┬ [email protected] 

  │ │ │ │ └── [email protected] 

  │ │ │ └── [email protected] 

  │ │ └── [email protected] 

  │ ├─┬ [email protected] 

  │ │ └── [email protected] 

  │ ├── [email protected] 

  │ └── [email protected] 

  ├─┬ [email protected] 

  │ └── [email protected] 

  └── [email protected] 

npm ERR! Darwin 16.7.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-save" "[email protected]~15.3.1"

npm ERR! node v6.11.5

npm ERR! npm  v3.10.10

npm ERR! path /usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-xcuitest-driver/node_modules

npm ERR! code EACCES

npm ERR! errno -13

npm ERR! syscall access

npm ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-xcuitest-driver/node_modules‘

npm ERR!     at Error (native)

npm ERR!  { Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-xcuitest-driver/node_modules‘

npm ERR!     at Error (native)

npm ERR!   errno: -13,

npm ERR!   code: ‘EACCES‘,

npm ERR!   syscall: ‘access‘,

npm ERR!   path: ‘/usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-xcuitest-driver/node_modules‘ }

npm ERR! 

npm ERR! Please try running this command again as root/Administrator.

npm ERR! Darwin 16.7.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-save" "[email protected]~15.3.1"

npm ERR! node v6.11.5

npm ERR! npm  v3.10.10

npm ERR! path npm-debug.log.91483753

npm ERR! code EACCES

npm ERR! errno -13

npm ERR! syscall open

npm ERR! Error: EACCES: permission denied, open ‘npm-debug.log.91483753‘

npm ERR!     at Error (native)

npm ERR!  { Error: EACCES: permission denied, open ‘npm-debug.log.91483753‘

npm ERR!     at Error (native)

npm ERR!   errno: -13,

npm ERR!   code: ‘EACCES‘,

npm ERR!   syscall: ‘open‘,

npm ERR!   path: ‘npm-debug.log.91483753‘ }

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!     /usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-xcuitest-driver/WebDriverAgent/npm-debug.log

bogon:WebDriverAgent zhouhaijun$ sodu npm install -save [email protected]~15.3.1

-bash: sodu: command not found

bogon:WebDriverAgent zhouhaijun$ sudo npm install -save [email protected]~15.3.1

Password:

[email protected] /usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-xcuitest-driver

└─┬ [email protected] 

  ├─┬ [email protected] 

  │ ├── [email protected] 

  │ ├─┬ [email protected] 

  │ │ ├─┬ [email protected] 

  │ │ │ ├─┬ [email protected] 

  │ │ │ │ └── [email protected] 

  │ │ │ └── [email protected] 

  │ │ └── [email protected] 

  │ ├─┬ [email protected] 

  │ │ └── [email protected] 

  │ ├── [email protected] 

  │ └── [email protected] 

  ├─┬ [email protected] 

  │ └── [email protected] 

  └── [email protected] 


https://github.com/facebook/WebDriverAgent

官方 issue :https://github.com/appium/appium/issues/7088

官方已經回複了,不支援運行 WebDriverAgent 內建的 inspector 。

至於為何單獨移出來就可以用,我猜和 webpack 檢測相對目錄的根目錄有關。有興趣你可以細究下。


Appium [email protected]~15.3.1 編輯記錄

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.