Saucelabs not getting registered
See original GitHub issueHaving trouble getting this running in my personal project. I’ve tried the example repo, but it seems to have the same issue. The the errors below are from the sample project. Nothing has been modified in any file.
I’ve tried with the connection started via binaries and sauceConnect
set to false. I’ve tried unencrypted username and accessKey and encrypted.
Karma version: 0.12.37 Node Version: 0.12.2 OS: Mac OS X 10.10.3
Same thing seems to happen on node v0.10.x, but it adds an error message referencing jasmine not being present.
[AAV:.../github/karma-sauce-example]$ karma start karma.conf-ci.js (master)
WARN [reporter]: Can not load "saucelabs", it is not registered!
Perhaps you are missing some plugin?
INFO [karma]: Karma v0.12.37 server started at http://localhost:9876/
WARN [launcher]: Can not load "SL_Chrome"!
Error: No provider for "launcher:SauceLabs". Can not use provider from the parent!
at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:84:17
at Array.forEach (native)
at createChild (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:82:27)
at module.(anonymous function) (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/config.js:180:25)
at Array.invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
at get (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:48:43)
at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:57:72
at Array.forEach (native)
at launch (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:40:11)
at invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
WARN [launcher]: Can not load "SL_InternetExplorer"!
Error: No provider for "launcher:SauceLabs". Can not use provider from the parent!
at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:84:17
at Array.forEach (native)
at createChild (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:82:27)
at module.(anonymous function) (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/config.js:180:25)
at Array.invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
at get (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:48:43)
at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:57:72
at Array.forEach (native)
at launch (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:40:11)
at invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
WARN [launcher]: Can not load "SL_FireFox"!
Error: No provider for "launcher:SauceLabs". Can not use provider from the parent!
at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:84:17
at Array.forEach (native)
at createChild (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:82:27)
at module.(anonymous function) (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/config.js:180:25)
at Array.invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
at get (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:48:43)
at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:57:72
at Array.forEach (native)
at launch (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:40:11)
at invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
Issue Analytics
- State:
- Created 8 years ago
- Comments:18
Top Results From Across the Web
Troubleshooting | Sauce Labs Documentation
Below are some tips to help troubleshoot Sauce Connect Proxy.
Read more >Email Verification Problems
If you have a brand new Sauce Labs account and are waiting on email verification try these things first: Check your spam/junk folder......
Read more >Common Error Messages
Below are some Sauce Labs automated testing common error messages and how to fix them.
Read more >"Your connection is not private" error while testing web ...
When using a Sauce Connect tunnel and navigating to a site using Chrome, you might see an error saying the connection is not...
Read more >Troubleshooting and what to do before creating a Support ...
... team make sure we can get you up and running as soon as possible. ... test result links (e.g. https://app.saucelabs.com/tests/12345) to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I wanted to involve EventEmitter in my angular 6 program and by mistakenly i imported it from protractor instead of @angular/core. So please check if you have done any such mistake.
I fixed this exact error by adding
'karma-sauce-launcher'
toplugins
in karma config file.