51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 5652|回复: 1
打印 上一主题 下一主题

[已解决-安装] 搭建ios环境,执行bootstrap.sh -d报错

[复制链接]
  • TA的每日心情
    开心
    2015-12-22 14:29
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    跳转到指定楼层
    1#
    发表于 2018-7-17 14:10:47 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    问题求助
    问题描述及重现步骤: 按照“IOS录制环境搭建和调试启动说明.pdf”进行操作,当执行到第12步:sh ./Scripts/bootstrap.sh –d报错,
    报错内容如下:
    -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.

    audited 1722 packages in 5.76s
    found 9 vulnerabilities (4 low, 4 high, 1 critical)
    run `npm audit fix` to fix them, or `npm audit` for details
    Validating Inspector
    No errors!
    Cannot find module \'eslint-config-appium\'
    Referenced from: /usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/.eslintrc
    Error: Cannot find module \'eslint-config-appium\'
    Referenced from: /usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/.eslintrc
    at ModuleResolver.resolve (/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/util/module-resolver.js:74:19)
    at resolve (/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:515:25)
    at load (/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:532:26)
    at configExtends.reduceRight (/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:424:36)
    at Array.reduceRight (<anonymous>)
    at applyExtends (/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:408:28)
    at Object.load (/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:566:22)
    at loadConfig (/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config.js:63:33)
    at getLocalConfig (/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config.js:130:29)
    at Config.getConfig (/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.87.0@appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config.js:260:26)
    问题类型: 安装 
    TW版本:
    被测应用的名称和版本:
    本帖最后由 TestWriter 于 2018-7-23 13:12 编辑


    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    该用户从未签到

    2#
    发表于 2018-7-19 14:50:31 | 只看该作者
    根据报错信息里的run `npm audit fix` to fix them, or `npm audit` for details  去执行一下npm audit fix尝试一下
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-23 02:55 , Processed in 0.069986 second(s), 24 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表