question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

no provider error

See original GitHub issue

From the top project dir (same place karma.conf lives)

 npm list --depth=0 |grep karma 
├── karma@0.12.36
├── karma-chrome-launcher@0.1.12 
├── karma-mocha@0.1.10
├── karma-phantomjs-launcher@0.2.0
├── karma-sauce-launcher@0.2.11

relevant sections cut from karma.conf

'plugins': [
    'karma-mocha'
],
frameworks: ['mocha'],

getting:

Error: No provider for "framework:mocha"! (Resolving: framework:mocha)
and 
WARN [plugin]: Cannot find plugin "karma-mocha".

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
skarfacegccommented, Jun 22, 2015

… and I needed karma-cli thanks.

1reaction
dignifiedquirecommented, Jun 22, 2015

Do you have karma or karma-cli installed globally?

Read more comments on GitHub >

github_iconTop Results From Across the Web

NG0201: No provider for {token} found! - Angular
You see this error when you try to inject a service but have not declared a corresponding provider. A provider is a mapping...
Read more >
How to Fix “No provider was found” on PancakeSwap
“No provider was found” on PancakeSwap means that there's an error with connecting ...
Read more >
Angular no provider for NameService - Stack Overflow
The error No provider for NameService is a common issue that many Angular2 beginners face. Reason: Before using any custom service you first ......
Read more >
How To Fix PancakeSwap: “No provider was found” Error
The “No Provider Was Found” error means that PancakeSwap was not able to connect Trust Wallet to its decentralized environment. Thus, while the...
Read more >
Pancake Swap No Provider Was Found – What Does It Mean?
If you see the “No provider was found” error in PancakeSwap, this means the platform has experienced an issue connecting with your Trust...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found