• Author only
  • Author only

  • 尝试了一下,但是打开app之后就闪退了。大神帮忙看一下,报这个错是因为xpath配置错误的问题吗

  • 哈哈。每年都有忙和闲的时候。没有不加班的公司。你要是完成工作了,可以正点走呀,不会有人拦着的。

  • Author only
  • 求助:运行完npm run test 后,报如下错误

    >> >> html reporter generated: /home/user/code/web-app-bootstrap/reports/index.html

    >> >> json reporter generated: /home/user/code/web-app-bootstrap/reports/json-final.json

    >> >> reporter config generated: /home/user/code/web-app-bootstrap/reports/config.json

    >> Test completed!
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! web-app-bootstrap@1.0.5 test: `npm run clean:coverage && macaca run -d ./test --verbose`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the web-app-bootstrap@1.0.5 test script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! /home/user/.npm/_logs/2019-08-15T08_50_00_397Z-debug.log

    运行完测试用例,报上述错误,且服务正常启动

    CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS                       PORTS                               NAMES
    d0f33e93d401 macacajs/reliable-web:v2 "./entrypoint.sh n..." About an hour ago Up About an hour (healthy) 0.0.0.0:9900->9900/tcp reliable_web_1
    172309ca2454 macacajs/reliable-mysql "docker-entrypoint..." About an hour ago Up About an hour 0.0.0.0:3306->3306/tcp, 33060/tcp reliable_mysql_1
    f8a70aad9486 macacajs/reliable-nginx "nginx -g 'daemon ..." About an hour ago Up About an hour 0.0.0.0:9920->80/tcp reliable_static_1