You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the "Getting Started" guide carefully step by step, on a completely new React Native project (react-native init).
Running detox build works fine, but detox test does not. It results in this error:
I am not behind any specific/corporate proxy, and I have never met NPM connection errors like that before.
Steps to Reproduce
Followed the "Getting Started" docs
Install all the latest dependencies as of this date today
Init a new React Native project
Run detox build and then detox test
Detox, Node, Device, Xcode and macOS Versions
Detox: 7.1.0
Detox CLI: 7.0.0
Node: 8.9.4
Device: iPhone 7, 11.2
Xcode: 9.2, build 9C40b
macOS: 10.13.3 (17D102)
Device and verbose Detox logs
node_modules/.bin/mocha e2e --opts e2e/mocha.opts --loglevel verbose
detox info 11:45:45: server listening on localhost:51743...
detox ERR! ws onError: Error: connect ECONNREFUSED ::1:51743
1) "before all" hook
0 passing (30s)
1 failing
1) "before all" hook:
Error: connect ECONNREFUSED ::1:51743
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
0 passing (30s)
1 failing
1) "before all" hook:
Error: connect ECONNREFUSED ::1:51743
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
child_process.js:644
throw err;
^
Error: Command failed: node_modules/.bin/mocha e2e --opts e2e/mocha.opts --loglevel verbose
at checkExecSyncError (child_process.js:601:13)
at Object.execSync (child_process.js:641:13)
at runMocha (/Users/jesperlund/dev/mobile-client/node_modules/detox/local-cli/detox-test.js:72:6)
at Object.<anonymous> (/Users/jesperlund/dev/mobile-client/node_modules/detox/local-cli/detox-test.js:50:5)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Function.Module.runMain (module.js:684:10)```
The text was updated successfully, but these errors were encountered:
Description
I followed the "Getting Started" guide carefully step by step, on a completely new React Native project (
react-native init
).Running
detox build
works fine, butdetox test
does not. It results in this error:I am not behind any specific/corporate proxy, and I have never met NPM connection errors like that before.
Steps to Reproduce
detox build
and thendetox test
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
The text was updated successfully, but these errors were encountered: