-
Notifications
You must be signed in to change notification settings - Fork 354
Description
I just generated a new project and tried to run tests:
WARN [preprocess]: Can not load "webpack"!
TypeError: undefined is not a function
at Plugin.notifyKarmaAboutChanges (/Users/gleb/work/TTT/node_modules/karma-webpack/index.js:108:15)
at Plugin. (/Users/gleb/work/TTT/node_modules/karma-webpack/index.js:72:9)
at Tapable.applyPlugins (/Users/gleb/work/TTT/node_modules/webpack/node_modules/tapable/lib/Tapable.js:26:37)
at Watching._done (/Users/gleb/work/TTT/node_modules/webpack/lib/Compiler.js:78:17)
at Watching. (/Users/gleb/work/TTT/node_modules/webpack/lib/Compiler.js:61:18)
at Tapable.emitRecords (/Users/gleb/work/TTT/node_modules/webpack/lib/Compiler.js:281:37)
at Watching. (/Users/gleb/work/TTT/node_modules/webpack/lib/Compiler.js:58:19)
at /Users/gleb/work/TTT/node_modules/webpack/lib/Compiler.js:274:11
at Tapable.applyPluginsAsync (/Users/gleb/work/TTT/node_modules/webpack/node_modules/tapable/lib/Tapable.js:60:69)
at Tapable.afterEmit (/Users/gleb/work/TTT/node_modules/webpack/lib/Compiler.js:271:8)