6,530 questions
0
votes
2
answers
72
views
How to make Cancellable api calls in loop in Angular?
I have a list containing parameters, such as:
[
{a:1a,b:1b,c:1c},
{a:2a,b:2b,c:2c},
{a:3a,b:3b,c:3c}
]
For each parameter object, I aim to initiate three consecutive API calls, each with ...
0
votes
1
answer
78
views
Add two different index.html in angular.cli.json
I have to add two index.html for prod and dev, I'm using angular5 project need to add under angular.cli.json
where and how to add them?
I have tried with configuration but this says above version 6
-1
votes
1
answer
3k
views
Error: Emit attempted before Angular Webpack plugin initialization(Error: Emit attempted before Angular Webpack plugin initialization)
Here what im doing is I have created new project in Angular 15 and moving the code from the Angular version 5. I have fixed all the errors but stuck with this one error.And also here is the my current ...
0
votes
0
answers
124
views
TypeError: Cannot read properties of undefined (reading 'mangleWasmImports')
I'm in the process of upgrading my old node 8x project to node 18.18.0. When building a webpack angularjs app I get this error and unsure how to handle this issue. Is this a bug in webpack/webpack-cli ...
-1
votes
1
answer
204
views
Compilation errors showing up only locally (Angular)
I am trying to run this application, but I keep getting this errors during compilation that I can't find a solution to. Normally I would know how to solve them but the real problem is that these ...
1
vote
1
answer
136
views
In Angular 5 project getting gyp errors on npm install
I am trying "npm install" in angular 5 project, but its giving gyp errors . does anyone have any idea about the errors visible in the following screenshots.
I have tried to clear cache , ...
0
votes
1
answer
122
views
[email protected] added to Ionic3+Angular5 app: "Module Parse Failed" due to spread operator "..."
It's a legacy project on life support that I don't have the luxury of upgrading to Ionic7/Angular14+. Works fine other than needing to add Sentry. Upon adding sentry-cordova (1.1.5), building now ...
1
vote
0
answers
573
views
How to add proxy configuration in web.config file and remove from appsettings.json in .NET 6 with Angular 5?
How to Add proxy configuration inside web.config file by removeing proxy from appsettings.json file in .net6 with Angular 5?
I tried to add proxy in web.config file by removing from appsetting.json ...
1
vote
0
answers
46
views
I have to filter out nested object based on condition in angular 14
Below is my json object in which I have nested listofdeciosion object. If listofdecisoion length is greater than 1 and it has decision name as 'AEE' then I have to remove that object from ...
0
votes
1
answer
299
views
Configure Jest to Angular 5
I am working on a project that uses Angular 5 (archaic, I know) and I followed this article to help set up Jest in my project, and my files look like the following:
package.json
"dependencies&...
0
votes
1
answer
962
views
Get Angular Type<> from component instance in Angular 5
First of all, I wanted to make clear that what I want is the Angular Type instance of a component, not the TypeScript definition of that component.
The context is the following:
I'm inside a service ...
0
votes
1
answer
86
views
Angular 4 Semantic UI Tabs only work after i click on them
I have some semantic UI tabs set up in my app.component.html like this:
<div class = "ui container">
<h1>Header/h1>
<hr>
<div style = "background-color: ...
0
votes
1
answer
87
views
Property 'artist' does not exist on type 'ArtistItemsComponent'
So I'm new to Angular, and following an Angular5 course on LinkedIn.
I'm trying to create a subcomponent named artist-items, and have created the HTML and TS files for it.
Okay, apologies for posting ...
0
votes
0
answers
199
views
Upgrading an existing project from Angular 5 to Angular 14
There were some enhancements needed to be done from an old project but my Angular is angular 14 and the project is in Angular 5. I cannot load the project because of the version compatibility issues. ...
0
votes
1
answer
2k
views
Cannot read property 'write' of undefined - Angular
I am working on an Angular 5 project where I'm facing issue Cannot read property 'write' of undefined while trying to build and run(ng serve):
My local @angular/cli version is 1.7.4 and below are ...