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
Getting this error when using ngx-build-plus: 14.0.0 with Angular 14 project
I found that its because the version range is not fixed to the bound of 14.x series hence npm downloads @angular-devkit/build-angular, @angular-devkit/core etc . of15.x.x versions locally inside node_modules which in turns causes the issue
The correct fix would be to add a range in the package.json of ngx-build-plus something like >= 14.0.0 < 15.0.0
The workaround in the package.json of our project we can add resolutions object which makes sure npm downloads the required versions for our project
Getting this error when using
ngx-build-plus: 14.0.0
with Angular 14 projectI found that its because the version range is not fixed to the bound of
14.x
series hence npm downloads@angular-devkit/build-angular
,@angular-devkit/core
etc . of15.x.x
versions locally insidenode_modules
which in turns causes the issueThe correct fix would be to add a range in the
package.json
ofngx-build-plus
something like>= 14.0.0 < 15.0.0
The workaround in the
package.json
of our project we can addresolutions
object which makes surenpm
downloads the required versions for our projectThe text was updated successfully, but these errors were encountered: