Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular migration v13 to v14 using @angular-builders/custom-webpack

We recently migrated Angular from version 13 to 14.

My dev dependencies and global cli both are v14.0 and we are using

"@angular-builders/custom-webpack" (latest version 13.1.0) npm package

While building the project I am getting the following error.

enter image description here

I don't find anything wrong with my cli version installed in dev dependencies and global cli.

enter image description here

NOTE: I am guessing @angular-builders/custom-webpack is causing the problem but not sure because according to their guidelines they are supported till Angular v13. Maybe I need to wait for them to update the package.

https://www.npmjs.com/package/@angular-builders/custom-webpack

like image 776
Dhimant Bhensdadia Avatar asked Sep 10 '25 22:09

Dhimant Bhensdadia


1 Answers

I will sum up the thread mentioned in @R. Richards' comment.

Author of @angular-builders is currently working on v14 support, PR link:

  • https://github.com/just-jeb/angular-builders/pull/1220

To temporarily fix the problem, you can delete this folder:

  • node_modules\ @angular-builders\custom-webpack\node_modules

If using yarn plug and play:

  • You can work it around with Yarn resolutions, but highly recommemded to wait for the official release of v14 compatible version.
like image 86
Neolisk Avatar answered Sep 13 '25 12:09

Neolisk