angular12 Questions

3

Solved

I was working on Angular 8 project when the time came to upgrade it to Angular 12. Since I come exclusively from React environments, didn't think it would be this much of a hassle until I started. ...
Tillotson asked 3/11, 2021 at 8:13

14

Solved

What is wrong with the new version of Angular? Angular CLI 12.0.1 can't create new application. Tried to run ng new twelveApp and the cli complains dying Data path "" must NOT have additi...
Rouen asked 24/5, 2021 at 1:31

9

Solved

I am having angular 12 in my local and building project which runs fine without any error. My local setup: Angular CLI: 12.0.5 Node: 12.16.3 Package Manager: npm 6.14.4 OS: win32 x64 Angular: 1...
Privative asked 1/11, 2021 at 7:15

3

I have updated my project from angular 12 to angular 13 and I'm facing this error: Error: node_modules/@types/ws/index.d.ts:328:18 - error TS2315: Type 'Server' is not generic. 328 server?: HTTPSe...
Unarmed asked 12/6, 2023 at 11:7

6

Solved

I'm trying to add the Bootstrap 5 dropdown in Angular 12 it's not working. I have installed all the necessary packages, added them to the angular.json file. Copied the exact example from Bootstrap ...
Unbreathed asked 27/8, 2021 at 11:1

2

Solved

I'm trying to implement token refresh feature in angular 12 and .net core 5. this is my JWT service registration: startup.cs: services.AddAuthentication(options => { options.DefaultAuthenticat...
Kwangchowan asked 11/5, 2022 at 19:15

1

Solved

I know this question has been asked before, but I seem to have a slightly different problem (at least, the solution provided in similar questions don't work for me). The project is using Angular 12...
Kathiekathleen asked 6/4, 2023 at 12:27

4

I have an old angular library and when I migrate to angular 12 and try to build my library I am getting the below error: projects/namespace/lin-folder/src/lib/components/alerts/alerts.component.ts...
Picker asked 14/5, 2021 at 19:10

11

Solved

After migrating my angular 6 project to 12. I am getting multiple warning in terminal if in angular.json i set optimisation: false configuration then all issue get resolved but i don't want to make...
Rowena asked 3/9, 2021 at 7:20

4

In my angular project, I have a function reloadPage(): void { window.location.reload(); } So when ever I need to reload the page, I used to call this function. Now I am trying to add the unit tes...
Hellen asked 1/8, 2021 at 6:24

2

So i'm using swagger and Nswag for a very long time, I can see the auto generated methods used to generate a line like this to exit as default value: return _observableOf<MyClassData>(<any...
Carmencita asked 1/8, 2021 at 19:9

5

i create a custom Angular material module, material.module.ts file and import the following Angular material UI components in this file like given below. import { NgModule } from '@angular/core'; i...
Baluchistan asked 10/9, 2021 at 16:47

3

Solved

The stack: Angular 12 with .NET, running in a Docker container. Bundles are being built by @angular-devkit/build-angular:browser. Last working setup: The application ran previously on Angular 7, al...
Stogner asked 1/7, 2021 at 16:18

1

I need to create a sitemap page as my Marketing Team requires this page for SEO purposes. They have an old website built with WordPress and it shows the following: How can I achieve this functiona...
Reproachless asked 5/10, 2022 at 7:1

3

Solved

I am using ngx-charts with Angular 12 and I'm getting this error message then I use this: colorScheme = { domain: ['#5AA454', '#A10A28', '#C7B42C', '#AAAAAA'] }; The error message is: Type '{ dom...
Banausic asked 18/10, 2021 at 9:0

6

Solved

We have upgraded to Angular 12 recently and facing a problem wherein the browser Source Map is missing and due to this we are unable to debug our component files as there aren't any. Can anyone sug...
Nonessential asked 22/5, 2021 at 8:21

3

Parent Component <form [formGroup]="User"> <app-radioButton [group]="user"></app-radiobuton> </form> In Radio Component html <mat-radio-button...
Invercargill asked 25/3, 2022 at 7:48

5

Hi after I ran "ng update @angular/core@12 @angular/cli@12" to upgrade from 11 to 12, and then "ng serve app" I keep getting the following error: "Unknown error from PostCS...
Colorant asked 20/5, 2021 at 20:11

2

After upgrading Angular from v.11 to v.12 I am getting the following Error home.Component.ts imgname= require("../assets/images/imgname.png"); ./src/assets/images/imgname.png:1:0 - Error...
Froward asked 26/5, 2021 at 13:3

1

Why the library compiled in the "partial" compilation mode builds so slowly inside of the consumer application, compared to the "full" compilation mode?
Darondarooge asked 13/5, 2022 at 10:4

2

This is the simple HTML that I have written for single page web app <div class="bg"> <h1 class="faq_heading">Frequently Asked Questions</h1> <div class=&q...
Ridings asked 15/7, 2021 at 12:57

2

Solved

In my project, I sometimes want to update the available options in a list when the user changes the selected value in another list. To do this, I've used valueChanges with the pipe operator and swi...
Shirleyshirlie asked 1/4, 2022 at 14:27

1

Solved

I am doing an Angular 12 Material App. I have a simple Form like this <form [formGroup]="form" class="normal-form" (ngSubmit)="onSubmit()"> <mat-grid-list co...
Panorama asked 24/3, 2022 at 16:3

3

Solved

I've always been using the @ngx/json-ld package from Cory Rylan to render LD+json on my angular components. Today I tried upgrading my angular app to angular 12, but now it's giving errors. So I de...
Bertram asked 28/5, 2021 at 14:5

2

Solved

I am migrating a library to use Angular and Material 12 (currently in version 10), and Storybook is used to expose the various components of this library. To do so, I upgraded Angular and Material ...
Arms asked 15/10, 2021 at 13:1

© 2022 - 2024 — McMap. All rights reserved.