299 questions
2
votes
1
answer
57
views
Angular component, not updating frontend
I have a chatbot component that I charge in my app.component.html to access it everywhere.
<app-chatbot [enable]="this.enableSerenia"></app-chatbot>
In my chatbot component, I ...
0
votes
0
answers
26
views
Using @HostListener in Angular, on doing ctrl+v, Paste event not triggered when keydown event is also there AND on keydown event, ctrl+v not detected
On input type="text", I am using two directives - keydown and paste.
My requirement is:
I need to validate user input string character by character which will be done in keydown event,
I ...
-1
votes
1
answer
73
views
Unable to read environment variable
I need to upgrade my Angular 11 app to angular 18.
Till 15 it work as expected. Post 15 upgrade to 16 I face many issues.
Now I am not able to read environment variable.
import { environment } from '...
-1
votes
1
answer
30
views
Unable to debug or find .ts file in Chrome console
I am upgrading angular app from 11 to 18.As suggested, I am doing it step by step means from 11 to 12 then 12 to 13 and so on...I am able to upgrade till Angular 15 and app run as expected post ...
0
votes
0
answers
86
views
Error: s does not have a module def (ɵmod property)
During Angular update I see this error Error: S does not have a module def (ɵmod property)
I am updating angular 15 to 16
"@angular/cli": "^16.2.16",
The error does not specify ...
0
votes
0
answers
41
views
How can I ensure that the microphone ignores the bot's audio and only listens to the user's voice?
I'm working on a real-time voice chatbot in Angular 16 with a backend that uses Azure Speech Services for Text-to-Speech (TTS) and Speech-to-Text (STT). The goal is to have a seamless conversation ...
1
vote
1
answer
71
views
How to write unit test case for reactive form in angular 18
I am new for unit test case in angular.I am trying to write unit test case for angular reactive fomr. But, It is not working properly.
Getting below error some times
Error: NG01052: formGroup expects ...
1
vote
1
answer
253
views
Angular 18 input signal instead of @Input
Hi I'm having doubt I'm using input signal instead of @Input I'm sending data from parent component one as simple variable like and another as signal
name = "ajai" name=signal("ajai&...
0
votes
0
answers
46
views
I have upgraded angular version from 15 to 16 and material ui from 15 to 16. Facing issue in mat-card, ngModel,ngValue, mat-form-field and many
NG8001: 'mat-label' is not a known element:
1. If 'mat-label' is an Angular component, then verify that it is part of this module.
2. If 'mat-label' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA'...
0
votes
0
answers
19
views
How to get NGRX reducer state value inside spec ts file in angular 16
I am not able to get reducer state value inside spec ts. Getting below error.
An error was thrown in afterAll
TypeError: Cannot read properties of undefined (reading 'isLoading')
app.component.ts:
...
2
votes
1
answer
76
views
How to write unit test case for angular code
I am trying to to write test case for my angular project. I am using angular version 16.
Below is my code.
In my code I am not getting component.appRuleList and component.appRuleOptions values in my ...
1
vote
0
answers
10
views
How to resolve setFormControlValue issue in angular
I am getting below the error in the test case error in my angular 16 application.
Error: NG0302: The pipe 'setFormControlValue' could not be found in the 'AppComponent' component. Verify that it is ...
-1
votes
1
answer
174
views
Migration: Angular 15 to 16
I am currently migrating my Angular application from version 15 to 16, and I've heard that Angular 16 introduces the "standalone components" feature, which allows components, directives, and ...
1
vote
1
answer
223
views
Angular Build Fails: "Maximum call stack size exceeded"
I’m working on an Angular project and encountered multiple issues when trying to run the application using ng serve. The build fails with the following errors:
./src/main.ts - Error: Module build ...
0
votes
2
answers
66
views
Angular16 Maximum call size exceeded
I am trying to build a project on angular16 but whenever I do so I get the following error:
./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: ...