306,822 questions
0
votes
0
answers
50
views
Schema validation failed with the following errors in Angular project
I have two similar Angular projects (both on Angular 20) and currently one of the projects when I run the npm run start command I am constantly getting the error below. Should I remove the package-...
1
vote
3
answers
48
views
Can I keep my modules in the Angular version?
I am migrating my Angular 17 project to 21 and would like to know if there will be any problems if I want to continue using the module feature in Angular 21?
0
votes
1
answer
44
views
Angular ng-content in a for loop with dynamic select variable
I'm trying to use a variable as select select attribute value and it doesn't seem to work.
This is small representation of my component.
import { Component, input } from '@angular/core';
@Component({
...
Advice
0
votes
1
replies
25
views
ADA focus visible on pie chart during mouse hover in Highcharts (Angular)
I am using Highcharts to render a pie chart in an Angular CLI project. Everything works fine except for an accessibility issue: when I move the mouse over the pie chart, the ADA focus outline becomes ...
2
votes
1
answer
40
views
SCSS / Angular 19 - Styles defined inside :host, that contain variables defined in other files don't get applied
Hello fellow developers!
I'm facing a problem to which I have no solution and I would require your aid to figure it out.
I have setup a theme.scss file inside an Angular 19 project, which contains ...
-1
votes
0
answers
19
views
Primeng 19 Theme styles are not applied in the Angular 19 Application [closed]
I am migrating from Angular 14 to 19. Now i am in Angular 19 version and primeng 19 version.The primeng component styles are not applied. i addded below code in app.module,ts
import { ...
1
vote
2
answers
31
views
Angular Vitest multiple configurations to do remote debugging locally and run headless in pipeline
Since Angular version 21 it uses Vitest as default testing framework. I come from Karma + Jasmine and we had a customLauncher in our karma configuration file with the --remote-debugging-port=9333 flag ...
0
votes
0
answers
28
views
Playwright flake: locator.click times out on Angular Material slide-toggle because "element is not visible" [closed]
I am writing E2E tests for an Angular application using Playwright. I am encountering a flaky issue when trying to interact with an Angular Material slide toggle (mat-slide-toggle).
Most of the time ...
0
votes
2
answers
87
views
Angular does not recognize button appearance specification color="warn"
I am currently working on a learning project with Angular CLI 21.0.2.
I added the following line of markup, but the button still appears with its default color:
<button matButton="filled" ...
0
votes
0
answers
29
views
How do I resolve a typescript compiler conflict between vitest and NGXS
I have an Angular 21 project in which I am using NGXS for state management. I was using jest as a testing framework but vitest works better.
The issue is that the NGXS @Selector() decorator is showing ...
Advice
0
votes
1
replies
30
views
Using AWS TRANSFORM To migrate Angular 16 to 21
I want to know if it's possible to do Angular migration version automatically with aws TRANSFORM argentic IA?
-1
votes
1
answer
34
views
Lifecycle Management: Safely Unsubscribing from HttpClient in Root-Provided Angular Signal Services [closed]
I am implementing a modern state management pattern in Angular (version 16+) where a dedicated service acts as a state facade, integrating traditional RxJS asynchronous operations with the new Signals ...
-3
votes
0
answers
45
views
Is it good practice to keep HttpClient subscriptions inside an Angular signals-based service? [closed]
I'm experimenting with Angular (with signal and inject) and I'm trying a pattern where a service acts as a small state manager:
The service holds the state in signals (loading, error, items, etc.).
...
0
votes
1
answer
26
views
How to configure Capacitor (not Ionic) for Angular to VS Code Azure Function App integration
Straight forward questions asking for steps to configure Mac iOs.
I need local iPhone / Xcode simulator running Angular in Capacitor (no Ionic) to be able to make http calls to Azure Function App ...
1
vote
2
answers
43
views
Angular control-flow migration rewrites trackBy incorrectly and causes TS2554
After upgrading my Angular project (v19 → v20 → v21), I opted into the control-flow migration (*ngFor → @for).
Some of my templates were migrated like this:
@for (item of data; track trackByFn(index, ...