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

Can not load "webpack"! TypeError: undefined is not a function #1855

Closed
claudiopro opened this issue Sep 9, 2015 · 2 comments
Closed

Can not load "webpack"! TypeError: undefined is not a function #1855

claudiopro opened this issue Sep 9, 2015 · 2 comments

Comments

@claudiopro
Copy link

When running npm test:

WARN [preprocess]: Can not load "webpack"!
  TypeError: undefined is not a function
    at Plugin.notifyKarmaAboutChanges (/Users/delphine/Development/Git/rackt/react-router/node_modules/karma-webpack/index.js:108:15)
    at Plugin.<anonymous> (/Users/delphine/Development/Git/rackt/react-router/node_modules/karma-webpack/index.js:72:9)
    at Compiler.applyPlugins (/Users/delphine/Development/Git/rackt/react-router/node_modules/webpack/node_modules/tapable/lib/Tapable.js:26:37)
    at Watching._done (/Users/delphine/Development/Git/rackt/react-router/node_modules/webpack/lib/Compiler.js:78:17)
    at Watching.<anonymous> (/Users/delphine/Development/Git/rackt/react-router/node_modules/webpack/lib/Compiler.js:61:18)
    at Compiler.emitRecords (/Users/delphine/Development/Git/rackt/react-router/node_modules/webpack/lib/Compiler.js:282:37)
    at Watching.<anonymous> (/Users/delphine/Development/Git/rackt/react-router/node_modules/webpack/lib/Compiler.js:58:19)
    at /Users/delphine/Development/Git/rackt/react-router/node_modules/webpack/lib/Compiler.js:275:11
    at Compiler.applyPluginsAsync (/Users/delphine/Development/Git/rackt/react-router/node_modules/webpack/node_modules/tapable/lib/Tapable.js:60:69)
    at Compiler.afterEmit (/Users/delphine/Development/Git/rackt/react-router/node_modules/webpack/lib/Compiler.js:272:8)

This is the same as codymikol/karma-webpack#70. I'm preparing a PR to upgrade karma to 0.13.x.

@ryanflorence
Copy link
Member

merged #1856

@claudiopro
Copy link
Author

Sweet, thanks @ryanflorence

@lock lock bot locked as resolved and limited conversation to collaborators Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants