-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Using: v2.2.0-rc.0
Do you want to request a feature or report a bug?
Was originally a bug posted here but is relevant to all rc users.
If the current behavior is a bug, please provide the steps to reproduce.
There is currently an issue with the debug module which has been fixed on master but not officially released yet.
It prevents the sever from running correctly with the following output:
ERROR in ./~/debug/browser.js
Module build failed: Error: Couldn't find preset "es2015" relative to directory "/home/otis/Developer/hassle/node_modules/debug"
at /home/otis/Developer/hassle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:299:19
at Array.map (native)
at OptionManager.resolvePresets (/home/otis/Developer/hassle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:270:20)
at OptionManager.mergePresets (/home/otis/Developer/hassle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:259:10)
at OptionManager.mergeOptions (/home/otis/Developer/hassle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:244:14)
at OptionManager.init (/home/otis/Developer/hassle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:12)
at File.initOptions (/home/otis/Developer/hassle/node_modules/babel-core/lib/transformation/file/index.js:216:65)
at new File (/home/otis/Developer/hassle/node_modules/babel-core/lib/transformation/file/index.js:139:24)
at Pipeline.transform (/home/otis/Developer/hassle/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at transpile (/home/otis/Developer/hassle/node_modules/babel-loader/lib/index.js:38:20)
@ ./~/sockjs-client/lib/main.js 25:10-26
@ ./~/sockjs-client/lib/entry.js
@ (webpack)-dev-server/client/socket.js
@ (webpack)-dev-server/client?http://localhost:4000
@ multi main
To fix in the meantime you can add this to your package.json:
"debug": "git://github.com/visionmedia/debug#master"What is the expected behavior?
For the server to run without breaking.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention your webpack and Operating System version.
Using webpack v2.2.0-rc.0 and Ubuntu 16.04.
Metadata
Metadata
Assignees
Labels
No labels