0

After I update my Angular Application from Angular 7.2.11 to Angular 14.0.0

Angular CLI: 14.0.6
Node: 16.16.0
Package Manager: 8.14.0
OS: win32 x64

Angular: 14.0.6

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1400.6
@angular-devkit/build-angular   14.0.6
`@angular-devkit/core            14.0.6`
@angular-devkit/schematics      14.0.6
----------

ng serve generating browser application bundles takes horrible long.

 / Generating browser application bundles (phase: setup) ...
Thelopera
  • 305
  • 1
  • 2
  • 8
  • Remove your `node_module` & `package-lock.json` run `npm install` again. Also, for testing purposes disable your antivirus solution, this will help you understand where the problem is. Honestly, in Angular 14 the building process it's quite fast. – WSD Jul 19 '22 at 07:12
  • it doesn't work. – Thelopera Jul 19 '22 at 08:30
  • Hope [this](https://stackoverflow.com/questions/67733861/angular-12-generating-browser-application-bundles-phase-sealing-very-slow?rq=1) helps. – Dwight Jul 20 '22 at 04:58
  • For me, using @for in the SCSS file with too many repetitions caused the problem. Reducing the number of loops solved it. – Stefan Garlonta Aug 19 '23 at 10:00

0 Answers0