测试之家
  • Topics
  • QA
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • Sign Up
  • Sign In
会员
jwhong_zh (季文洪)
第 22301 位Users / 2017-10-31
10 篇帖子 • 37 条回帖
2 关注者
6 正在关注
18 收藏
未设置 GitHub 信息.
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • [已解决] Mac 连接两台 iPhone,建立各自的连接时发现会串到同一台 iPhone 上,求教!!! at April 19, 2018

    非常感谢,解决了

  • Appium 连接 iphone 报错。Error: Unable to launch WebDriverAgent because of xcodebuild failure: "Unable to start iproxy. Is it installed?". at April 16, 2018

    安装完 iproxy,但是 which iproxy,啥也没有:

    MacMini-J:node_modules MacMini_J$ npm install -g iproxy
    npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/iproxy
    npm ERR! path /usr/local/lib/node_modules/iproxy
    npm ERR! code EACCES
    npm ERR! errno -13
    npm ERR! syscall access
    npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/iproxy'
    npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib/node_modules/iproxy'
    npm ERR! stack: 'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules/iproxy\'',
    npm ERR! errno: -13,
    npm ERR! code: 'EACCES',
    npm ERR! syscall: 'access',
    npm ERR! path: '/usr/local/lib/node_modules/iproxy' }
    npm ERR!
    npm ERR! Please try running this command again as root/Administrator.

    MacMini-J:node_modules MacMini_J$ sudo npm install -g iproxy

    • iproxy@0.0.4 updated 1 package in 2.12s

    MacMini-J:node_modules MacMini_J$ which iproxy

    MacMini-J:node_modules MacMini_J$ iproxy
    -bash: iproxy: command not found

  • 在 AppCrawler 使用过程中碰到的问题 at March 23, 2018

    碰到了同样的问题,请问楼主后来解决了吗?

  • Appium 连接 iphone 报错。Error: Unable to launch WebDriverAgent because of xcodebuild failure: "Unable to start iproxy. Is it installed?". at March 20, 2018

    iproxy 没有安装。是这样安装吗:

    MacMini-J:WebDriverAgent MacMini_J$ sudo cnpm install --global iproxy
    Password:
    Downloading iproxy to /usr/local/lib/node_modules/iproxy_tmp
    Copying /usr/local/lib/node_modules/iproxy_tmp/_iproxy@0.0.4@iproxy to /usr/local/lib/node_modules/iproxy
    Installing iproxy's dependencies to /usr/local/lib/node_modules/iproxy/node_modules
    [1/1] fresh@~0.2.0 installed at node_modules/_fresh@0.2.4@fresh
    All packages installed (1 packages installed from npm registry, used 3s, speed 2.4kB/s, json 1(5.08kB), tarball 2.26kB)

    执行完这个之后,再用 which iproxy 看,还是没有结果。
    还有这个也试过:
    MacMini-J:WebDriverAgent MacMini_J$ sudo npm install --global iproxy
    Password:

    • iproxy@0.0.4 updated 2 packages in 6.425s
  • Appium 连接 iphone 报错。Error: Unable to launch WebDriverAgent because of xcodebuild failure: "Unable to start iproxy. Is it installed?". at March 17, 2018

    尝试单独装,在执行 sh 脚本,还是没有解决
    MacMini-J:WebDriverAgent MacMini_J$ npm install -g eslint
    /usr/local/bin/eslint -> /usr/local/lib/node_modules/eslint/bin/eslint.js

    • eslint@4.19.0 added 1 package and updated 1 package in 39.617s

    MacMini-J:WebDriverAgent MacMini_J$ npm install -g eslint-plugin-mocha
    npm WARN eslint-plugin-mocha@4.12.1 requires a peer of eslint@2.0.0 || 3.0.0 || 4.0.0 but none is installed. You must install peer dependencies yourself.

    • eslint-plugin-mocha@4.12.1 added 2 packages from 6 contributors in 3.779s
  • Appium 连接 iphone 报错。Error: Unable to launch WebDriverAgent because of xcodebuild failure: "Unable to start iproxy. Is it installed?". at March 17, 2018

    按照上面的提示执行 npm i eslint-plugin-mocha@latest --save-dev ,又遇到一个坑😢
    MacMini-J:WebDriverAgent MacMini_J$ npm i eslint-plugin-mocha@latest --save-dev
    npm WARN request-promise-core@1.1.1 requires a peer of request@2.34 but none is installed. You must install peer dependencies yourself.
    npm WARN request-promise-core@1.1.1 requires a peer of request@2.34 but none is installed. You must install peer dependencies yourself.
    npm WARN request-promise-core@1.1.1 requires a peer of request@2.34 but none is installed. You must install peer dependencies yourself.
    npm WARN eslint-plugin-mocha@4.12.1 requires a peer of eslint@2.0.0 || 3.0.0 || 4.0.0 but none is installed. You must install peer dependencies yourself.

    npm ERR! Maximum call stack size exceeded

  • Appium 连接 iphone 报错。Error: Unable to launch WebDriverAgent because of xcodebuild failure: "Unable to start iproxy. Is it installed?". at March 17, 2018

    重新做了一遍,运行 bootstrap 的时候遇到了问题。我按照https://testerhome.com/topics/7192这个帖子的办法试了一下,最终执行结果是这样的。是不是还是有问题啊?

    MacMini-J:WebDriverAgent MacMini_J$ sh ./Scripts/bootstrap.sh
    -e Fetching dependencies
    -e Building Inspector
    Creating bundle directory...
    Fetching Inspector dependencies...
    npm WARN react-dom@15.6.2 requires a peer of react@15.6.2 but none is installed. You must install peer dependencies yourself.
    npm WARN web-driver-inspector@1.0.0 No repository field.

    up to date in 6.967s
    Validating Inspector
    No errors!

    Oops! Something went wrong! :(

    ESLint couldn't find the plugin "eslint-plugin-mocha". This can happen for a couple different reasons:

    1. If ESLint is installed globally, then make sure eslint-plugin-mocha is also installed globally. A globally-installed ESLint cannot find a locally-installed plugin.

    2. If ESLint is installed locally, then it's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

      npm i eslint-plugin-mocha@latest --save-dev

    If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.

  • An unknown server-side error occurred while processing the command. 这个问题怎么解决? at January 06, 2018

    看看是这个问题吗?
    https://testerhome.com/topics/11403
    解决是注释掉了:
    #desired_caps['automationName']='uiautomator2'

  • 求大神帮忙看看:An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET at December 29, 2017

    网上找一圈没有找到解决办法,下班的时候突然想到把下面这行注释掉,结果第二天来检查,没有出现过这种错误。

    #desired_caps['automationName']='uiautomator2'
    
  • Prev
  • 1
  • 2
  • 关于 / 活跃用户 / 中国移动互联网测试技术大会 / 反馈 / Github / API / 帮助推广
    TesterHome社区,测试之家,由众多测试工程师组织和维护的技术社区,致力于帮助新人成长,提高测试地位,推进质量发展。Inspired by RubyChina
    友情链接 WeTest腾讯质量开放平台 / InfoQ / 掘金 / SegmentFault / 测试窝 / 百度测试吧 / IT大咖说
    简体中文 / 正體中文 / English

    ©testerhome.com 测试之家   渝ICP备2022001292号
      渝公网安备 50022202000435号    版权所有 © 重庆年云聚力信息技术有限公司