Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

重新安装cli后运行 macaca run 报错 #47

Closed
ftvbftvbq opened this issue May 11, 2016 · 0 comments
Closed

重新安装cli后运行 macaca run 报错 #47

ftvbftvbq opened this issue May 11, 2016 · 0 comments

Comments

@ftvbftvbq
Copy link

  • Macaca Version:
    1.0.24

  • Macaca Doctor:
    Node.js checklist:

    node env: /usr/local/bin/node
    node version: v5.5.0

    iOS checklist:

    Xcode is installed at: /Applications/Xcode.app/Contents/Developer
    Xcode Command Line Tools is ready, version: 2343.
    ios_webkit_debug_proxy is installed at: /usr/local/bin/ios_webkit_debug_proxy

    Android checklist:

    JAVA version is 1.8.0_31
    JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home
    ANDROID_HOME is set to /Users/edison/Library/Android/sdk

  • Platform:
    MAC

    { '0':
    { [Error: spawn /usr/local/lib/node_modules/.macaca-cli_npminstall/mocha/2.4.5/.bin/mocha ENOENT]
    code: 'ENOENT',
    errno: 'ENOENT',
    syscall: 'spawn /usr/local/lib/node_modules/.macaca-cli_npminstall/mocha/2.4.5/.bin/mocha',
    path: '/usr/local/lib/node_modules/.macaca-cli_npminstall/mocha/2.4.5/.bin/mocha',
    spawnargs: [ '--colors', 'macaca-test', '--require', 'should' ] } } true 'digest'
    TypeError: res.match is not a function
    at Logger._format (/usr/local/lib/node_modules/.macaca-cli_npminstall/xlogger/1.0.2/xlogger/lib/xlogger.js:86:17)
    at Logger.warn (/usr/local/lib/node_modules/.macaca-cli_npminstall/xlogger/1.0.2/xlogger/lib/xlogger.js:149:18)
    at Runner. (/usr/local/lib/node_modules/.macaca-cli_npminstall/macaca-cli/1.0.24/macaca-cli/bin/macaca-cli-run:89:10)
    at emitOne (events.js:90:13)
    at Runner.emit (events.js:182:7)
    at ChildProcess. (/usr/local/lib/node_modules/.macaca-cli_npminstall/macaca-cli/1.0.24/macaca-cli/lib/run/index.js:72:10)
    at emitOne (events.js:90:13)
    at ChildProcess.emit (events.js:182:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
    at onErrorNT (internal/child_process.js:344:16)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant