51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

测试开发精英班,通向高级软件测试工程师【好消息】企业内训服务上线啦!项目为王,自动化测试提升加速器 !横扫BAT,Python全栈测试开发技能大全
【第123期】:入行2年多测试如何渡过职业迷茫期?参与调查问卷 缔造行业趋势 月薪15K+的测试开发必备技能? 【活动】为视频UP主打CALL,互动领福利!
查看: 2888|回复: 1

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

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

    连续签到: 1 天

    [LV.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 编辑


    回复

    使用道具 举报

    该用户从未签到

    发表于 2018-7-19 14:50:31 | 显示全部楼层
    根据报错信息里的run `npm audit fix` to fix them, or `npm audit` for details  去执行一下npm audit fix尝试一下
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2021-12-6 08:18 , Processed in 0.058204 second(s), 25 queries .

    Powered by Discuz! X3.2

    © 2001-2021 Comsenz Inc.

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