karma-systemjs icon indicating copy to clipboard operation
karma-systemjs copied to clipboard

Error: You need to include some adapter that implements __karma__.start method!

Open kmarecki opened this issue 8 years ago • 3 comments

I've upgraded karma from 0.13.22 to 1.1.1 and my tests don't work anymore.

21 07 2016 08:48:29.118:INFO [karma]: Karma v1.1.1 server started at http://localhost:9877/ 21 07 2016 08:48:29.118:INFO [launcher]: Launching browser Chrome with unlimited concurrency 21 07 2016 08:48:29.132:INFO [launcher]: Starting browser Chrome 21 07 2016 08:48:30.610:INFO [Chromium 51.0.2704 (Ubuntu 0.0.0)]: Connected on socket /#z9rp5y62GnWWSMe_AAAA with id 92935555 Chromium 51.0.2704 (Ubuntu 0.0.0) ERROR You need to include some adapter that implements karma.start method!

I've looked which files are being loaded during startup and it seems that karma-systemjs/lib/adapter.js is missing in the newer version of Karma.

kmarecki avatar Jul 21 '16 06:07 kmarecki

I've got similar result, but only when systemjs.includeFiles option is present. On '0.13.22' is ok.

m-architek avatar Jul 29 '16 17:07 m-architek

Seems to work fine for karma '1.1.2'.

m-architek avatar Jul 29 '16 17:07 m-architek

I got this error when karma did not find any files and when using includeFiles . I tried to load 'jspm_packages/npm/[email protected]/bundles/angular2-polyfills.js' in includeFiles, but that didn’t work. Adding it as inline script in karmas regular files array fixed it for me.

ArntB avatar Sep 22 '16 09:09 ArntB