• 请问 Mac 上 app-inspector 启动后报这个错,是什么原因,如何解决呀?
    at /usr/local/lib/node_modules/app-inspector/node_modules/.4.6.0@co/index.js:54:5

    app-inspector.js:42:10 [master] pid:4384 server start at: http://172.11.22.182:5678
    xctest-client.js:58:14 [master] pid:4384 project path not found
    app-inspector:66:44 [master] pid:4384 Error: >> xctest-client.js:58:14 [master] pid:4384 project path not found
    at Logger.error (/usr/local/lib/node_modules/app-inspector/node_modules/.1.0.6@xlogger/lib/xlogger.js:169:9)
    at XCTest.checkProjectPath (/usr/local/lib/node_modules/app-inspector/node_modules/.1.0.29@xctest-client/lib/xctest-client.js:58:14)
    at XCTest.init (/usr/local/lib/node_modules/app-inspector/node_modules/.1.0.29@xctest-client/lib/xctest-client.js:51:10)
    at XCTest (/usr/local/lib/node_modules/app-inspector/node_modules/.1.0.29@xctest-client/lib/xctest-client.js:39:10)
    at Object.exports.initDevice (/usr/local/lib/node_modules/app-inspector/lib/ios.js:90:12)
    at exports.initDevice.next ()
    at onFulfilled (/usr/local/lib/node_modules/app-inspector/node_modules/.4.6.0@co/index.js:65:19)
    at /usr/local/lib/node_modules/app-inspector/node_modules/.4.6.0@co/index.js:54:5
    at co (/usr/local/lib/node_modules/app-inspector/node_modules/.4.6.0@co/index.js:50:10)
    at toPromise (/usr/local/lib/node_modules/app-inspector/node_modules/.4.6.0@co/index.js:118:63)
    (node:4384) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: >> app-inspector:66:44 [master] pid:4384 Error: >> xctest-client.js:58:14 [master] pid:4384 project path not found
    at Logger.error (/usr/local/lib/node_modules/app-inspector/node_modules/.1.0.6@xlogger/lib/xlogger.js:169:9)
    at XCTest.checkProjectPath (/usr/local/lib/node_modules/app-inspector/node_modules/.1.0.29@xctest-client/lib/xctest-client.js:58:14)
    at XCTest.init (/usr/local/lib/node_modules/app-inspector/node_modules/.1.0.29@xctest-client/lib/xctest-client.js:51:10)
    at XCTest (/usr/local/lib/node_modules/app-inspector/node_modules/.1.0.29@xctest-client/lib/xctest-client.js:39:10)
    at Object.exports.initDevice (/usr/local/lib/node_modules/app-inspector/lib/ios.js:90:12)
    at exports.initDevice.next ()
    at onFulfilled (/usr/local/lib/node_modules/app-inspector/node_modules/.4.6.0@co/index.js:65:19)
    at /usr/local/lib/node_modules/app-inspector/node_modules/.4.6.0@co/index.js:54:5
    at co (/usr/local/lib/node_modules/app-inspector/node_modules/.4.6.0@co/index.js:50:10)
    at toPromise (/usr/local/lib/node_modules/app-inspector/node_modules/.4.6.0@co/index.js:118:63)
    (node:4384) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

  • 您好,请问我昨天还能用的,今天提示我升级 app-inspector,升级后启动页面就直接白屏了是什么原因呀?Failed to load resource: the server responded with a status of 404 (Not Found)

  • Macaca iOS 真机测试 at 2016年12月07日

    #107 楼 @xdf 您好,请问刚才升级到最新的版本,用例就跑不了了呢,运行 demo 也是报这个错; throw err;
    ^

    Error: Cannot find test framework "mocha" in E:\macaca-test-sample-master\node_modules
    at Runner.initFramework (C:\Users\XIONGFEI\AppData\Roaming\npm\node_modules\macaca-cli\lib\run\index.js:55:11)
    at co.then (C:\Users\XIONGFEI\AppData\Roaming\npm\node_modules\macaca-cli\lib\run\index.js:41:10)
    at process._tickCallback (internal/process/next_tick.js:103:7)

  • #20 楼 @litianping 同求,请问你找到解决问题的方法了吗?