karma-runner / karma-runner/karma

Improve error message if no framework was loaded.

Open
#1,059 15 comments 0 reactions 0 assignees View on GitHub
help wanted type: feature
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Running karma on windows 8 throws the following error when trying to run in browser:

> IE 11.0.0 (Windows) ERROR
> You need to include some adapter that implements __karma__.start method!

Reproduce:
- clean node install on win8 (removed npmrc)
- npm install -g karma
- npm install -g karma-cli
- karma start -> does not throw error yet
- connect browser -> throws the aforementioned error
- karma run from another console -> throws again

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Windows 8 sequence with global karma and karma-cli installs, then connect the browser and run karma from another console. Trace where the “include some adapter” error is produced; done means the failure reports a more useful message when no framework is loaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.