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

TypeError: Cannot set property 'publicPath' of undefined #420

Closed
limonte opened this issue Jun 8, 2019 · 3 comments
Closed

TypeError: Cannot set property 'publicPath' of undefined #420

limonte opened this issue Jun 8, 2019 · 3 comments

Comments

@limonte
Copy link
Contributor

limonte commented Jun 8, 2019

  TypeError: Cannot set property 'publicPath' of undefined
    at Plugin (/node_modules/karma-webpack/dist/karma-webpack.js:221:39)

https://github.com/webpack-contrib/karma-webpack/blob/master/src/karma-webpack.js#L227

Looks like webpackMiddleware is undefined by default instead of {}

@rensbaardman
Copy link

Yep, can confirm this. Was introduced somewhere between v4.0.0-rc.6 and v4.0.1.

@ryanclark
Copy link
Collaborator

This was fixed in #418, but I'm waiting for the CLA check to pass before I can merge

@ryanclark
Copy link
Collaborator

Fixed in v4.0.2

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

3 participants