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.

[testing-karma] running karma with lerna on default config, results in an error

See original GitHub issue

For some reason it does not happen with open-wc config

when I run

lerna exec karma start -- -c karma.conf.js

I get, which is not very helpful

01 08 2019 12:56:06.661:ERROR [karma-server]: UncaughtException

But when run with limited concurrency, it works

lerna exec --concurrency=1 karma start -- -c karma.conf.js

I have hunch, that it might be related to ports. Karma server by default tries to find open ports before starting server I do not see explicit setting of a port in open-wc config, but not sure why it does not work

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
LarsDenBakkercommented, Aug 6, 2019

If you use the babel plugin for compiling typescript you could run it all in one karma instance.

We should fix this bug anyhow

Read more comments on GitHub >

github_iconTop Results From Across the Web

UNPKG - @open-wc/testing-karma
Our configuration sets up karma to run tests based on es modules with the necessary polyfills and fallbacks for older browsers and convenient...
Read more >
Karma + Jasmine + Angular 4 - NullInjectorError: No provider ...
I am trying to run unit tests using karma and jasmine. Whenever I run 'ng test' I'm getting above error in karma page....
Read more >
@open-wc/testing-karma | Yarn - Package Manager
Workflow. Commands explained: test : does a single test run on the configured browsers (default headless chrome) and prints tests and coverage results....
Read more >
Troubleshooting - Karma test runner
The DEBUG log includes a copy of the final 'config': note that plugins can alter the config and sometimes the settings you applied...
Read more >
Missing class properties transform - Storybook React - You.com
Describe the bug When executing npm run build-storybook -c .storybook -o ./dist/myProject/storybook/ I always get this error: npm ERR! missing script: ...
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