Helo Friends,
I am trying to do a POC with Nightwatch.js on windows machine and ended up getting the below error. Could you please help me in resolving this issue.
Starting selenium server... started - PID: 12796
Error: No source folder defined. Check configuration.
at Function.Runner.readPaths (C:\Users\user_abc\IdeaProjects\nightwatch-cucumber-example\node_modules\nightwatch\lib\runner\run.js:192:11)
at Runner.runner [as run] (C:\Users\user_abc\IdeaProjects\nightwatch-cucumber-example\node_modules\nightwatch\lib\runner\run.js:235:10)
at CliRunner.runner (C:\Users\user_abc\IdeaProjects\nightwatch-cucumber-example\node_modules\nightwatch\lib\runner\cli\clirunner.js:443:23)
at C:\Users\user_abc\IdeaProjects\nightwatch-cucumber-example\node_modules\nightwatch\lib\runner\cli\clirunner.js:395:12
at SeleniumServer.onStarted (C:\Users\user_abc\IdeaProjects\nightwatch-cucumber-example\node_modules\nightwatch\lib\runner\cli\clirunner.js:354:9)
at SeleniumServer.checkProcessStarted (C:\Users\user_abc\IdeaProjects\nightwatch-cucumber-example\node_modules\nightwatch\lib\runner\selenium.js:152:10)
at SeleniumServer.onStderrData (C:\Users\user_abc\IdeaProjects\nightwatch-cucumber-example\node_modules\nightwatch\lib\runner\selenium.js:132:8)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:607:20)
INFO Selenium process finished.
Related
Error launching browser
usning- chrome 103 version
getting this error while launching tests from cypress- Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was 50666.
Error details:
Error: connect ECONNREFUSED 127.0.0.1:50666 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
Stack trace
This is what I get in the stack trace from launching chrome: Cypress version is 7.3.:
Title: Error launching browser
Message: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was 29079.
Error details:
Error: connect ECONNREFUSED 127.0.0.1:29079
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
Stack trace:
Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was [33m29079[39m.
Error details:
Error: connect ECONNREFUSED 127.0.0.1:29079
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
at get (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\lib\errors.js:988:15)
at Object.throwErr [as throw] (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\lib\errors.js:1006:9)
at C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\lib\browsers\protocol.js:106:21
at tryCatcher (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\promise.js:725:18)
at _drainQueueStep (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\async.js:15:14)
at processImmediate (internal/timers.js:461:21)
I have spoken to the support team and they currently do not have any protocols in place that would block cypress from launching chrome. I have also looked at an earlier solution in stack overflow where you go into ext/files to comment out the localhost address but still to ano avail. Can anyone please help??
I'm trying to perform a simple "GET" on wikipedia:
Ajax.get("https://en.wikipedia.org/w/index.php?title=Special:Random") map (_.responseText)
I get this error when I try to run:
[error] org.scalajs.jsenv.ExternalJSRun$NonZeroExitException: exited with code 1
[error] at org.scalajs.jsenv.ExternalJSRun$$anon$1.run(ExternalJSRun.scala:186)
[error] stack trace is suppressed; run 'last Compile / run' for the full output
[error] (Compile / run) org.scalajs.jsenv.ExternalJSRun$NonZeroExitException: exited with code 1
[error] Total time: 3 s, completed Mar 4, 2021, 4:47:42 PM
Error: Cross origin http://localhost forbidden
at dispatchError (C:\Users\mjwin\IdeaProjects\wiki-brain\node_modules\jsdom\lib\jsdom\living\xhr\xhr-utils.js:62:19)
at Object.validCORSHeaders (C:\Users\mjwin\IdeaProjects\wiki-brain\node_modules\jsdom\lib\jsdom\living\xhr\xhr-utils.js:74:5)
at Request.<anonymous> (C:\Users\mjwin\IdeaProjects\wiki-brain\node_modules\jsdom\lib\jsdom\living\xhr\XMLHttpRequest-impl.js:673:25)
at Request.emit (events.js:315:20)
at Redirect.onResponse (C:\Users\mjwin\IdeaProjects\wiki-brain\node_modules\request\lib\redirect.js:147:11)
at Request.onRequestResponse (C:\Users\mjwin\IdeaProjects\wiki-brain\node_modules\request\request.js:986:22)
at ClientRequest.emit (events.js:315:20)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:641:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
at TLSSocket.socketOnData (_http_client.js:509:22) {
type: 'XMLHttpRequest'
}
I've looked around for info on this error, but I'm still not sure what it means. I think I understand that I'm running into a CORS issue, but I don't understand what to do about it.
You need allowed to read a file into a URL:
Cross-Origin Read Blocking (CORB) blocked cross-origin response
Without allowing your url to access. Your script got an error.
I am trying to attach the Nuclide debugger to Expo local server (port 19001), but it is showing me the following error :
Adapter node: v8.10.0 x64
vscode-chrome-debug-core: 3.17.10
Starting debugger app worker.
******** Unhandled error in debug adapter - Unhandled promise rejection: Error: spawn react-native.cmd ENOENT
at _errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
Followed by:
Could not debug. Invalid Version:
Env: Ubuntu 16.04
I am working behind a proxy. Wanted to know how to pass the proxy info to the Ethereum wallet.
My http_proxy and https_proxy are set still it is not taking
when i start the ethereum wallet i see that following error
[2017-07-25 11:12:15.030] [ERROR] updateChecker - Error checking for update { RequestError: Connection timed out on request to api.github.com
at ClientRequest.req.once.err (/home/nokia/go-ether/mist/linux-unpacked/resources/app.asar/node_modules/got/index.js:73:21)
at ClientRequest.g (events.js:286:16)
at emitOne (events.js:101:20)
at ClientRequest.emit (events.js:188:7)
at Timeout.timeoutHandler (/home/nokia/go-ether/mist/linux-unpacked/resources/app.asar/node_modules/timed-out/index.js:16:8)
at tryOnTimeout (timers.js:232:11)
at Timer.listOnTimeout (timers.js:202:5)
code: 'ETIMEDOUT',
message: 'Connection timed out on request to api.github.com'
which i think is coming because it is not able to access proxy settings.
So how can i pass the proxy info to the wallet
Thanks