Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWebpack v2.1.0-beta.23 breaks everything #2234
Comments
|
Same problem here, creating an angular Project using ng new first-app, then trying to run with ng serve (no changes were made on the generated project): Steps: LOG:
|
|
Same problem. Was trying to figure out why an existing project broke; created new using OS: Windows 10 x64
|
|
Same here. Fedora 14 |
|
Same here. |
Fix angular#2234
|
same here!! please helps |
|
Same here: Mac OSX |
|
Yup, sorry to add to the noise but I'm getting the exact same error message on |
|
I know the issue was only filed an hour ago but I hope someone stops by to help soon! |
|
@colindevs as a work around you can fix webpack to |
|
Thanks @colindevs - anyone using Laravel (laravel-elixir-webpack-official) just do:
followed by
Then you should be able to gulp again. Fixed the issue for me. |
|
Thanks @shusson, it's working fine now. |
|
We'll have a release in the next day or so that fixes this issue. Until then, please see #2234 (comment) for a temporary fix. |
|
I'm still having the issue even after the workaround. angular-cli: 1.0.0-beta.14 |
|
I've been following the latest developments here yet I still have not had success getting a clean install to serve a project.
angular-cli: 1.0.0-beta.14 |
|
@jasonhodges you need to fix the webpack version in your app to |
|
To reiterate @shusson's fix which is up a bit: tweak your package.json npm uninstall webpack --save-dev ng build or ng serve will then work. |
|
Thank you for reporting. This issue has been fixed and we're now working to get an updated beta to you right away. Per the code of conduct for Angular, I’ve deleted a couple of comments that veered into trolling, and have locked this issue. Please keep issues and comments technical and constructive. We are working hard to deliver a large project of which webpack-CLI is one part; often we can’t act instantly to resolve an issue. We’re sorry for this regression and are working to resolve. |
|
|
In short, please pin the webpack version to v2.1.0-beta.22.
beta 23 has breaking changes: https://github.com/webpack/webpack/releases/tag/v2.1.0-beta.23
PR follows soon!
....
Windows
ng --version. If there's nothing outputted, please runin a Terminal:
node --versionand paste the result here:angular-cli: 1.0.0-beta.14do on your code? etc.
ng new foo-barnpm startmore information.