You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest version of vue-cli, it appears that the webpack config is not being passed to karma anymore. The test:unit command fails with the following output...
yarn run v1.9.4
$ vue-cli-service test:unit
07 02 2019 10:52:59.549:ERROR [preprocess]: Can not load "webpack", it is not registered!
Perhaps you are missing some plugin?
START:
07 02 2019 10:52:59.592:ERROR [karma]: Error: Found 1 load error
at Server.webServer.listen (/code/vue-karma-bug/node_modules/karma/lib/server.js:170:27)
at Object.onceWrapper (events.js:273:13)
at Server.emit (events.js:187:15)
at emitListeningNT (net.js:1320:10)
at process._tickCallback (internal/process/next_tick.js:63:19)
(node:33720) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated
Karma has exited with 1
ERROR 1
error Command failed with exit code 1.
With the latest version of vue-cli, it appears that the webpack config is not being passed to karma anymore. The
test:unit
command fails with the following output...See reproduction repo at https://github.com/scottbedard/vue-karma-bug
Any help with this issue would be appreciated!
The text was updated successfully, but these errors were encountered: