Appiumreact@~15.3.1编辑记录-创新互联-成都快上网建站

Appiumreact@~15.3.1编辑记录-创新互联

\

北塔网站建设公司创新互联建站,北塔网站设计制作,有大型网站制作公司丰富经验。已为北塔超过千家提供企业网站建设服务。企业网站搭建\成都外贸网站建设公司要多少钱,请找那个售后服务好的北塔做网站的公司定做!

 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

官方已经回复了,不支持运行 WebDriverAgent 自带的 inspector 。

至于为何单独移出来就可以用,我猜和 webpack 检测相对目录的根目录有关。有兴趣你可以细究下。

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


文章标题:Appiumreact@~15.3.1编辑记录-创新互联
本文路径:http://kswjz.com/article/dssicd.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流