Testcafe-Saucelab integration issue - testing

I get the below error when running the command testcafe -b saucelabs:
ERROR Error: connect ETIMEDOUT 54.192.148.204:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)
Can someone please help me with resolving this?

Related

Could not parse CLI arguments supported by "jest-cli" package Detox (React-native)

I'm trying to setup testing in my react-native application and I have followed the Detox documentation to a T
but if I run detox build --configuration android and then detox test --configuration android it bombs out and gives me the following error
detox[28124] ERROR: [cli.js] Could not parse CLI arguments supported by "jest-cli" package, see the error below.
detox[28124] ERROR: [cli.js] Error: Cannot find module '\node_modules\jest-cli\build\cli\args.js'
ERROR: [cli.js] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
ERROR: [cli.js] at Function.Module._load (internal/modules/cjs/loader.js:746:27)
ERROR: [cli.js] at Module.require (internal/modules/cjs/loader.js:974:19)
ERROR: [cli.js] at require (internal/modules/cjs/helpers.js:101:18)
ERROR: [cli.js] at resolveJestCliArgs \node_modules\detox\local-cli\utils\jestInternals.js:52:12)
ERROR: [cli.js] at getJestBooleanArgs \node_modules\detox\local-cli\utils\splitArgv.js:54:12)
ERROR: [cli.js] at Object.splitJestArgv [as jest] \node_modules\detox\local-cli\utils\splitArgv.js:91:53)
ERROR: [cli.js] at prepareJestArgs \node_modules\detox\local-cli\test.js:170:44)
ERROR: [cli.js] at Object.test [as handler] \node_modules\detox\local-cli\test.js:38:31)
Ive tried deleting package.lock.json & node_modules and I have unistalled jest and detox and reinstall both of them and I am still getting the same error.
Could anyone please direct me towards some solution or if you have a solution please be kind and share :)
PS: I did look on the interwebs before posting here - no solution available that I can find regarding this
It was a bug with Detox and and jest - Made a ticket on their github issues its been resolved and they added a fix for it see - https://github.com/wix/Detox/issues/3629

Error: write EPROTO 4379422144:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332

When i am running expo start with my project i am facing this error in the terminal.
Logs for your project will appear below. Press Ctrl+C to exit.
Opening exp://192.168.1.3:19000 on Pixel_4_API_30
Error: write EPROTO 4379422144:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16)
expo-cli version = 4.3.2
node -v = v12.20.0 / v14.15.1

Why do I get this error: Can't resolve './components/forms/LoginForm'

Why do I get this error after running the npm run dev command:
npm run development
ERROR in ./resources/js/app.js 5:0-53
Module not found: Error: Can't resolve './components/forms/LoginForm' in 'D:\wamp64\www\my-website\my-website\resources\js'
Try registering the component like this
'./components/forms/LoginForm.vue'

Run vue project getaddrinfo ENOTFOUND localhost error

I have initialized a nuxt project and when I try to run it with npm run dev or yarn dev command it returns this error :
build [================== ] 91%Error: getaddrinfo ENOTFOUND localhost
at errnoException (dns.js:50:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
error Command failed with exit code 1.
Any idea where does it come from ?
add 127.0.0.1 localhost to /etc/hosts
Check if there is already any service running on that host and port. In my case, I was trying to run it on port 80 while nginx is started.

npm install work but jspm not

I'm working on an Aurlia.io project. Suddenly the jspm stopped working.
If I retry running the command jspm install, I get an error that a different package failed to load.
warn Error on lookup for npm:babel-runtime
Error: connect ECONNREFUSED 151.101.12.162:80
at Object.exports._errnoException (util.js:873:11)
at exports._exceptionWithHostPort (util.js:896:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1077:14)
err Error looking up npm:babel-runtime.
Does anyone have an idea?
#Eliav Maman has the answer in his comment:
Problem solved! just go to edit system environment variables and add
to new user variables 1.HTTP_PROXY= your proxy
2.HTTPS_PROXY=your proxy with https
I'm trying to get this question marked as answered.