make test-pc problem
-
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/DeveloperXcode Command Line Tools is ready, version: 2343. ios_webkit_debug_proxy is installed at: /usr/local/bin/ios_webkit_debug_proxyAndroid checklist:
JAVA version is
1.8.0_31JAVA_HOME is set to/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/HomeANDROID_HOME is set to/Users/edison/Library/Android/sdk -
Platform: OS X E Capitan 10.11.4
macaca-electron is installing for the first time with args: ["install","macaca-electron","--registry=https://registry.npmjs.org/"]
| loading...
[email protected] postinstall /usr/local/lib/node_modules/macaca-cli/node_modules/node-installer/node_modules/electron-prebuilt node install.js
Downloading electron-v0.37.8-darwin-x64.zip Error: read ECONNRESET [email protected] /usr/local/lib/node_modules/macaca-cli/node_modules/node-installer ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous └── [email protected] extraneous
/usr/local/lib/node_modules/macaca-cli/node_modules/node-installer/node_modules/electron-prebuilt/install.js:22 throw err ^
Error: read ECONNRESET
at exports._errnoException (util.js:856:11)
at TLSWrap.onread (net.js:544:26)
npm WARN install:[email protected] [email protected] postinstall: node install.js
npm WARN install:[email protected] Exit status 1
install macaca-electron failed with Error: Cannot find module 'macaca-electron'
responseHandler.js:63:12 [master] pid:14909 Send Error Respone to Client: TypeError: Electron is not a function responseHandler.js:69:14 [master] pid:14909 TypeError: Electron is not a function at WebdriverServer.detectDevice (/usr/local/lib/node_modules/macaca-cli/node_modules/webdriver-server/lib/server/index.js:80:14) at WebdriverServer.start (/usr/local/lib/node_modules/macaca-cli/node_modules/webdriver-server/lib/server/index.js:40:22) at next (native) at onFulfilled (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:65:19) at /usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:54:5 at Object.co (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:50:10) at Object.toPromise (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:118:63) at next (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:99:29) at onFulfilled (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:69:7) at /usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:54:5
TypeError: Electron is not a function at WebdriverServer.detectDevice (/usr/local/lib/node_modules/macaca-cli/node_modules/webdriver-server/lib/server/index.js:80:14) at WebdriverServer.start (/usr/local/lib/node_modules/macaca-cli/node_modules/webdriver-server/lib/server/index.js:40:22) at next (native) at onFulfilled (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:65:19) at /usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:54:5 at Object.co (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:50:10) at Object.toPromise (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:118:63) at next (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:99:29) at onFulfilled (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:69:7) at /usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:54:5
#37