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
Yes, the previous version in which this bug was not present was:
"@angular-builders/custom-webpack": "11.0.0"
"webpack": "4.43.0"
Description
We are using "@angular-builders/custom-webpack": "11.0.0" in our devDependencies, and everything worked as expected with the usage of "webpack": "4.43.0".
After we updated our "webpack" dependency to version "5.27.2" we got some warnings related to "@angular-devkit/build-angular" required packages, these are the warnings:
@angular-devkit/[email protected] requires a peer of webpack@^4.6.0 but none is installed. You must install peer dependencies yourself.
@ngtools/[email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
[email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
It can be reproduced with the latest "@angular-devkit/build-angular": "0.1102.5"
🔬 Minimal Reproduction
ng new test-app
npm install webpack@latest
🔥 Exception or Error
npm WARN @angular-devkit/[email protected] requires a peer of webpack@^4.6.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngtools/[email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
The text was updated successfully, but these errors were encountered:
varevacdamir
changed the title
@angular-devkit/build-angular required packages are requiring a peer of webpack@^4.0.0 whit webpack "5.27.2" installed
@angular-devkit/build-angular required packages are requiring a peer of webpack@^4.0.0 with webpack "5.27.2" installed
Mar 23, 2021
In version 11 this is the expected behaviour as Webpack version 5 support is still experimental. This will be addressed in version 12 when #20084 is merged.
Kindly subscribe to the above mentioned PR, thanks.
🐞 Bug report
Is this a regression?
Yes, the previous version in which this bug was not present was:
"@angular-builders/custom-webpack": "11.0.0"
"webpack": "4.43.0"
Description
We are using "@angular-builders/custom-webpack": "11.0.0" in our devDependencies, and everything worked as expected with the usage of "webpack": "4.43.0".
After we updated our "webpack" dependency to version "5.27.2" we got some warnings related to "@angular-devkit/build-angular" required packages, these are the warnings:
It can be reproduced with the latest "@angular-devkit/build-angular": "0.1102.5"
🔬 Minimal Reproduction
ng new test-app
npm install webpack@latest
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: