Closed arthur-wxy closed 3 years ago
This is the translated issue:
Macaca Doctor logs :
Sample-nodejs@1.0.0 doctor / users / arthurw / desktop / sample-nodejs Macaca Doctor
Macaca-Doctor Version: 2.0.18
Node.js Checklist:
Node env: / usr / local / bin / node Node Version: V10.15.0
ios Checklist:
Macos Version: 10.15.7
Xcode Command Line Tools Is Ready, Version: 2373.
XcodeBuild Version: 12.0.1
iProxy [USBMUXD] IS Installed At: / usr / local / bin / iProxy
iOS_Webkit_Debug_proxy is installed at: / usr / local / bin / iOS_webkit_debug_proxy
Android Checklist:
Java Version IS 11
Java_home is set to / library / java / javavirtualmachines / jdk-11.0.7.jdk / contents / home
Android_home is set to / user / arthurw / library / android / sdk
Platforms is set to / users / arthurw / library / android / sdk / platforms / android-29
Adb Tool Is Set To / Users / Arthurw / Library / Android / SDK / Platform-Tools / Adb
Gradle is Installed, Version: 6.7
Installed Driver List:
Chrome: 1.1.1 Location: / users / arthurw / desktop / sample-nodejs / node_modules / macaca-chrome
iOS: 2.1.0 Location: / users / arthurw / desktop / sample-nodejs / node_modules / macaca-ios
Macaca Server Started /usr/local/lib/node_modules/macaca-cli/lib/run/index.js:46 Throw ERR; ^
Error: Cannot Find Test Framework "MOCHA" in / users / arthurw / desktop / sample-nodejs / maca-test / node_modules AT runner.initframework (/usr/local/lib/node_modules/maca-cli/lib/run/index.js:79:13) At co.Then (/usr/local/lib/node_modules/maca-cli/lib/run/index.js:43:10) AT process._tickcallback (Internal / Process / Next_Tick.js: 68: 7)
Big Brother has time to help
npm install 安装下依赖
This is the translated issue comment: @xudafeng
NPM Install installation depends
Macaca Doctor Logs:
macaca-doctor version: 2.0.18
Node.js checklist:
node env: /usr/local/bin/node node version: v10.15.0
iOS checklist:
macOS version: 10.15.7 Xcode Command Line Tools is ready, version: 2373. xcodebuild version: 12.0.1 iproxy[usbmuxd] is installed at:
/usr/local/bin/iproxy
ios_webkit_debug_proxy is installed at:/usr/local/bin/ios_webkit_debug_proxy
Android checklist:
JAVA version is
11
JAVA_HOME is set to/Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk/Contents/Home
ANDROID_HOME is set to/Users/arthurw/Library/Android/sdk
Platforms is set to/Users/arthurw/Library/Android/sdk/platforms/android-29
ADB tool is set to/Users/arthurw/Library/Android/sdk/platform-tools/adb
gradle is installed, version: 6.7Installed driver list:
chrome: 1.1.1 location: /Users/arthurw/Desktop/sample-nodejs/node_modules/macaca-chrome
ios: 2.1.0 location: /Users/arthurw/Desktop/sample-nodejs/node_modules/macaca-ios
Error: Cannot find test framework "mocha" in /Users/arthurw/Desktop/sample-nodejs/macaca-test/node_modules at Runner.initFramework (/usr/local/lib/node_modules/macaca-cli/lib/run/index.js:79:13) at co.then (/usr/local/lib/node_modules/macaca-cli/lib/run/index.js:43:10) at process._tickCallback (internal/process/next_tick.js:68:7)
大哥有时间帮看下