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]

│ └── js-tokens[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 检测相对目录的根目录有关。有兴趣你可以细究下。

时间: 2024-10-11 04:01:16

Appium [email protected]~15.3.1 编辑记录的相关文章

Unable to add window -- token [email protected] is not valid错误分析记录

打开APP时,出现闪退的情况,查看android studio报错信息,主要为: Unable to add window -- token [email protected] is not valid 原因分析:由于进入APP时会显示一个进度对话框,对话框的初始化必须依赖Activity,但如果对话框的初始化放在Activity的onCreate方法中,那么就会报错. 因为根据Activity的生命周期,onCreate方法执行时,Activity并未创建完毕,对话框所依赖的Activity还

Android Unable to add window -- token [email protected] is not valid错误分析记录

打开APP时,出现闪退的情况,查看android studio报错信息,主要为: Unable to add window -- token [email protected] is not valid 原因分析:由于进入APP时会显示一个进度对话框,对话框的初始化必须依赖Activity,但如果对话框的初始化放在Activity的onCreate方法中,那么就会报错. 因为根据Activity的生命周期,onCreate方法执行时,Activity并未创建完毕,对话框所依赖的Activity还

UNMET PEER DEPENDENCY [email protected]解决方案

安装包时提示: Bash ── UNMET PEER DEPENDENCY [email protected] └── [email protected] invalid npm WARN [email protected] requires a peer of [email protected]>=15.4.0 but none was installed. 解决: Bash npm install [email protected] -g

centos修改主机名 [email protected]后面的名字

阿里云买的新的ESC,名字都是一串字符,不利于平时使用.我们可以重命名主机来标记. centos6 [[email protected] ~]$ hostname # 查看当前的hostnmae centos6.magedu.com [[email protected] ~]$ vim /etc/sysconfig/network # 编辑network文件修改hostname行(重启生效) [[email protected] ~]$ cat /etc/sysconfig/network #

自记录:git如何上传文档到[email protected]

前提: D盘有gitserver文件夹 双击桌面的git.exe文件,打开git命令窗口 输入cd  d: 命令进入D盘 输入cd gitserver命令进入 找到[email protected]自己参与项目里的http地址 https://git.oschina.net/qingfei/JavatribePRD.git 在git窗口输入 git clone http://git.oschina.net/qingfei/JavatribePRD.git 这样就把JavatribePRD项目克隆

【[email protected]基础篇 ~】# 磁盘与文件系统

之前三篇文章我们简单介绍了Linux系统的用户管理,文件操作等,都是比较浅显的基本操作.这节我们要深入一下了,从文件系统我们要看到磁盘系统.从磁盘系统我们要看到操作系统的整体架构.废话不多少让我们开始学习吧! 磁盘与文件系统 1.磁盘系统 1.1 磁盘结构 如图所示,磁盘由扇区和柱面组成,分区的最小单位是柱面(柱是有厚度的,本图是截面图),磁盘读取的最小单位是扇区.第一扇区的MBR(446bytes)分区表可以最大包含四个分区(64bytes)的信息,即从开始柱面到结束柱面4组数据,每组16个字

[email protected]一个高效的配置管理工具--Ansible configure management--翻译(六)

无书面许可请勿转载 高级playbook Finding files with variables All modules can take variables as part of their arguments by dereferencing them with {{ and }} . You can use this to load a particular file based on a variable. For example, you might want to select a

git笔记[email protected]

之前安装了git,用了不久就升级系统了,发现又忘记了步骤,虽然网上有很多教程,但寻找需要浪费太多的时间,由于github连接比较慢,所以使用了开源中国的托管http://git.oschina.net/,安装流程写在oneNote里. 1.首先需要安装git<a href="http://git-scm.com/download/">Git官网</a>,安装好之后会又Git GUI和Git Bash,就用命令行吧~~ 打开Git Bash,简单的配置下: 先建立

Shell特殊变量:Shell $0, $#, $*, [email&#160;protected], $?, $$和命令行参数

变量名只能包含数字.字母和下划线,因为某些包含其他字符的变量有特殊含义,这样的变量被称为特殊变量. 例如,$ 表示当前Shell进程的ID,即pid,看下面的代码: $echo $$ 运行结果 29949 特殊变量列表 变量 含义 $0 当前脚本的文件名 $n 传递给脚本或函数的参数.n 是一个数字,表示第几个参数.例如,第一个参数是$1,第二个参数是$2. $# 传递给脚本或函数的参数个数. $* 传递给脚本或函数的所有参数. [email protected] 传递给脚本或函数的所有参数.被