alibaba / macaca

Automation solution for multi-platform. 多端自动化解决方案
https://macacajs.github.io
MIT License
3.17k stars 419 forks source link

sample-nodejs Android环境运行失败 #939

Closed ShenYj closed 4 years ago

ShenYj commented 5 years ago
macaca-bot commented 5 years ago

This is the translated issue:


Sample-nodejs Android environment failed to run

  Network checklist:

  Error, please set hosts: ::1 localhost

  Node.js checklist:

  Node env: /usr/local/bin/node   Node version: v10.16.0

  iOS checklist:

  macOS version: 10.14.5   Xcode Command Line Tools is ready, version: 2354.   Xcodebuild version: 11.0   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 1.8   JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home   ANDROID_HOME is set to /Users/Shen/Library/Android/sdk   Platforms is set to /Users/Shen/Library/Android/sdk/platforms/android-28   ADB tool is set to /Users/Shen/Library/Android/sdk/platform-tools/adb   Gradle is installed, version: 5.5

  Installed driver list:

  Android: 2.1.0   Location: /usr/local/lib/node_modules/macaca-android

  Chrome: 1.1.0   Location: /usr/local/lib/node_modules/macaca-chrome

  Electron: 5.0.0   Location: /usr/local/lib/node_modules/macaca-electron

  Ios: 2.0.35   Location: /usr/local/lib/node_modules/macaca-ios

houseshi commented 4 years ago

new version is fixed please check you project is execute "npm i"