Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karma fails running the webpack processor #135

Closed
grofit opened this issue Jul 6, 2016 · 1 comment
Closed

Karma fails running the webpack processor #135

grofit opened this issue Jul 6, 2016 · 1 comment

Comments

@grofit
Copy link

grofit commented Jul 6, 2016

I keep getting an error from Karma saying:

06 07 2016 11:04:22.640:ERROR [preprocess]: Can not load "webpack"!
  TypeError: this.list.forEach is not a function
    at new LoadersList (<project-url>\node_modules\webpack-core\lib\LoadersList.js:7:12)
    ...

So it seems to be blowing up because of some ES5 syntax in there, but I have no clue why as it should all be fine. Cannot find anyone with same problem, am running latest Karma (tried the 0.13.* releases too), using Firefox and PhantomJS both browsers have same error.

@grofit
Copy link
Author

grofit commented Jul 6, 2016

solved it, its always the case when you write up your issue then you find something which solves it, and for anyone else it was because I was using loaders in the webpack config not loader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant