Skip to main content

All Questions

0 votes
1 answer
2k views

Angular 19 CLI Builder Problem in different node versions

I can normally build my app in Angular 17 with either node 18.10.1 or 20.9.0. When I update to Angular 19 then my build stops working. Here is my package.json. { "name": "app", ...
kamilws's user avatar
  • 181
1 vote
1 answer
62 views

why recent angular project build outputs individual component css source map

I generated a new Angular 18 project from scratch and brought over my components to take advantage of new option defaults and settings. I'm happy I did so, but I noticed that it now seems to be ...
Brian's user avatar
  • 730
0 votes
1 answer
2k views

ng test not passing Jest CLI options any more in v14?

I am using Jest with Angular (instead of Karma). The angular.json file seems to be configured properly, as running ng test works. According to this article: You can specify Jest CLI options either in ...
Flavien Volken's user avatar
2 votes
1 answer
2k views

Angular Build <script> tags have type="module" using build-angular 13.1.2

How can I disable this and revert back to a script tag that doesn't expect to be a module? I've tried changing the tsconfig.json to have a target of es5 and that does not work.
Andrew Sellenrick's user avatar
0 votes
1 answer
954 views

How to do a wildcard file replacement during build in angular projects?

I have an angular2+ project with scss styles. I'm targeting 2 apps: mobile (ionic) and web with the same codebase. Due to the need to load totally different stylesheets for some of the components, I'm ...
Lorraine Ram-El's user avatar
3 votes
0 answers
804 views

Angular project is Stuck with "Generating browser application bundles (phase: setup)..."

I tried to start my first project on angular and after giving the command, CMD is stuck in: Generating browser application bundles (phase: setup)... And not finishing at all. Here it always stuck on ...
Siddiqul Akbar's user avatar
2 votes
1 answer
2k views

No projects support the 'extract-i18n' target

I'm trying to add a new label on an old project which already have an existing internalization with Angular xi18n how can I regenerate an xlf file? or can I just insert my own trans-unit manually into ...
Yzak's user avatar
  • 125
2 votes
3 answers
8k views

Angular build - Expected identifier but found "*"

After upgrading to angular 13.0.0 this warning occur when building: Warning: > styles.a81eb7805197853d.css:10615:2: warning: Expected identifier but found "*" 10615 │ *vertical-...
Mahdi Zarei's user avatar
  • 7,536
6 votes
5 answers
9k views

Angular build - Unmatched selector: %

When I run npm run build which executes ng build -c production build will be completed as expected. But command prompt will be filled with this warning: Warning: 303 rules skipped due to selector ...
Mahdi Zarei's user avatar
  • 7,536
2 votes
1 answer
943 views

How to add angular builder/custom webpack for different environment?

Currently I am using the custom builder for "serve" in angular.json file, like this "serve": { "builder": "@angular-builders/custom-webpack:dev-server"...
Parul's user avatar
  • 31
3 votes
0 answers
868 views

Build only specific module of angular application

I am working on an a large scale angular application which has more than 500 pages. It has a lot of modules which are lazily loaded. Now the problem is that our app takes too much time to build ...
Shoaib Iqbal's user avatar
  • 2,740
3 votes
1 answer
761 views

Angular inline resources in css as data-uri

Is there any way in Angular app without ejecting webpack configuration to have inlined resources, as SVGs in CSS background properties? I have already tried custom webpack builder to remove built-in ...
Zygimantas's user avatar
  • 8,837
1 vote
1 answer
558 views

Extermely slow ng serve on Angualr 7

I am facing the build issue with ng serve angular7 it is taking more than 3 minutes for each build and sometimes it increases up to 5 minutes, I tried several options to increase the speed but no luck ...
Deepak Patidar's user avatar
0 votes
1 answer
457 views

Angular Project fails compilation with @angular-builders/custom-webpack on scss files

I am using @angular-builders/custom-webpack to extend the compilation of the scss files in order to use postcss and the plugin postcss-modules Currently, when I try to serve the project these errors ...
German Quinteros's user avatar
0 votes
1 answer
237 views

cannot instantiate cyclic dependency - App Initializer :: not working when build & deployed through jenkins, working fine when doing prod build

when i am running prod build locally everything works fine. But when code is build in jenkins and deployed in QA environment i am getting cyclic dependency error. I tried prod build and from dist ...
Nutan Gwari's user avatar

15 30 50 per page