\
創(chuàng)新互聯(lián)是一家業(yè)務范圍包括IDC托管業(yè)務,網(wǎng)站空間、主機租用、主機托管,四川、重慶、廣東電信服務器租用,成都機柜租用,成都網(wǎng)通服務器托管,成都服務器租用,業(yè)務范圍遍及中國大陸、港澳臺以及歐美等多個國家及地區(qū)的互聯(lián)網(wǎng)數(shù)據(jù)服務公司。
npm install -save react@~15.3.1
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.58.1@appium-xcuitest-driver/node_modules
appium-xcuitest-driver@2.58.1 /usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.58.1@appium-xcuitest-driver
└─┬ react@15.3.2
├─┬ fbjs@0.8.16
│ ├── core-js@1.2.7
│ ├─┬ isomorphic-fetch@2.2.1
│ │ ├─┬ node-fetch@1.7.3
│ │ │ ├─┬ encoding@0.1.12
│ │ │ │ └── iconv-lite@0.4.19
│ │ │ └── is-stream@1.1.0
│ │ └── whatwg-fetch@2.0.3
│ ├─┬ promise@7.3.1
│ │ └── asap@2.0.6
│ ├── setimmediate@1.0.5
│ └── ua-parser-js@0.7.17
├─┬ loose-envify@1.3.1
│ └── js-tokens@3.0.2
└── object-assign@4.1.1
npm ERR! Darwin 16.7.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-save" "react@~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/_appium-xcuitest-driver@2.58.1@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/_appium-xcuitest-driver@2.58.1@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/_appium-xcuitest-driver@2.58.1@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/_appium-xcuitest-driver@2.58.1@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" "react@~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/_appium-xcuitest-driver@2.58.1@appium-xcuitest-driver/WebDriverAgent/npm-debug.log
bogon:WebDriverAgent zhouhaijun$ sodu npm install -save react@~15.3.1
-bash: sodu: command not found
bogon:WebDriverAgent zhouhaijun$ sudo npm install -save react@~15.3.1
Password:
appium-xcuitest-driver@2.58.1 /usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.58.1@appium-xcuitest-driver
└─┬ react@15.3.2
├─┬ fbjs@0.8.16
│ ├── core-js@1.2.7
│ ├─┬ isomorphic-fetch@2.2.1
│ │ ├─┬ node-fetch@1.7.3
│ │ │ ├─┬ encoding@0.1.12
│ │ │ │ └── iconv-lite@0.4.19
│ │ │ └── is-stream@1.1.0
│ │ └── whatwg-fetch@2.0.3
│ ├─┬ promise@7.3.1
│ │ └── asap@2.0.6
│ ├── setimmediate@1.0.5
│ └── ua-parser-js@0.7.17
├─┬ loose-envify@1.3.1
│ └── js-tokens@3.0.2
└── object-assign@4.1.1
https://github.com/facebook/WebDriverAgent
官方 issue :https://github.com/appium/appium/issues/7088
官方已經(jīng)回復了,不支持運行 WebDriverAgent 自帶的 inspector 。
至于為何單獨移出來就可以用,我猜和 webpack 檢測相對目錄的根目錄有關(guān)。有興趣你可以細究下。
分享名稱:Appiumreact@~15.3.1編輯記錄
URL分享:http://jinyejixie.com/article48/pdcgep.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供外貿(mào)網(wǎng)站建設(shè)、品牌網(wǎng)站建設(shè)、移動網(wǎng)站建設(shè)、自適應網(wǎng)站、微信小程序、ChatGPT
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)