Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Appium react@~15.3.1 Editing record

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

\

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

Official issue: https://github.com/appium/appium/issues/7088

The official reply is that running inspector that comes with WebDriverAgent is not supported.

As for why it can be used by removing it alone, I guess it has something to do with webpack detection relative to the root of the directory. If you are interested, you can take a closer look.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report