-
Notifications
You must be signed in to change notification settings - Fork 12k
Error on update to Webpack 4.0.1 #9793
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
Comments
To update the version of webpack, it must be updated in the Angular CLI package itself. Installing another version of webpack on the project dependencies is neither support nor will work. You would end up having multiple webpack dependencies in your project and this does not work. We're working on an update for the next major version. |
Same issue. I also made the mistake of updating webpack independently but no don't seem to be able to get a working build now now matter what I do. Deleted node folder/npm i with no change in result |
I had the same issue, made the same mistake of upgrading webpack independently.
webpack's newest version (4.0.0) seems to be buggy |
Your solution did resolve the issue for me. Thanks :) |
I had the same problems. Update @angular/cli to 1.7.2 helped |
@JanTheHun Your solution did resolve the issue for me. Thanks :) |
@DanPride Thanks a lot man.... your solution below worked fine for me. npm remove webpack Many Thanks |
Thanks.. It worked for me too :) |
notice that there might be 1. global webpack 2. local webpack |
Thanks @DanPride it works for me. |
@JanTheHun : Thank you!! That worked perfectly. This was the only snag I hit when updating a 1+ year old version of ReactJS on my app. But now everything's perfectly back to normal! |
@JanTheHun : Thank you!! That worked perfectly. |
fixed the issue for me using AWS CodeBuild, Ubuntu 14.04, and Node 10. |
Angular webpack issue - I have facing this error from 1 week - could anyone support me why this error comes in picture Runnpm run webpack-dev-server --inline --progress --port 8080 Console Error
Package.json/tsconfig.json
Please share if anyone resolve this issue awaiting... |
Worked like a charm! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
ng update
npm install webpack
Observed behavior
Desired behavior
Working build
Mention any other details that might be useful (optional)
I have this problem also with
Also on other macbook which I don't use for development with MacOS 10.13.3
The text was updated successfully, but these errors were encountered: