angular13 Questions

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

4

After upgrading my angular 10 to angular 13, I got this error after using the command ng serve. ⠧ Generating browser application bundles (phase: building)...events.js:377 throw er; // Unhandled 'e...
Ogrady asked 23/11, 2021 at 1:0

5

I'm using npm v 8.11.0. I have these dependencies defined in my package.json file "@angular/compiler": "^13.2.6", "@angular/core": "^13.2.6", I would like t...
Puffball asked 15/7, 2022 at 13:53

4

So. I created a fresh new project with Visual Studio Pro 2019 (v16.11.9) using the model ASP.NET Core with Angular. I set the authentication option to Individual User Accounts. I got a working scaf...

3

I have just upgraded my angular ionic app to use angular v13 from angular 12 by running ng update. The update was successful but now I am unable to run the app with below errors [ng] Error: node_mo...
Bork asked 11/11, 2021 at 13:9

1

I used Angular 13. "@angular/core": "~13.3.11" "codelyzer": "^6.0.2". When i used npm install it install all dependencies with below warnings. I try npm audi...
Chorion asked 14/7, 2022 at 13:25

1

Solved

I would like to render an Angular component (an overlay) as a direct child of the documents body element. Today this can be done as follows: constructor( private applicationRef: ApplicationRef, p...
Crawler asked 15/9, 2022 at 16:27

5

I am trying to setup an ASP.NET Core app with Angular frontend by following this tutorial. I was already able to successfully create the projects and I am also able to run and debug them flawlessly...
Stanwood asked 11/4, 2022 at 15:0

3

Solved

I'm currently in the process of upgrading my app from v12 to v13 and noticed this warning pop up: Option "deployUrl" is deprecated: Use "baseHref" option, "APP_BASE_HREF&qu...
Bound asked 31/3, 2022 at 15:56

4

Solved

After upgrading an Angular 12 project to Angular 13 I encountered an issue where SCSS was no longer to locate a shared style sheet in a library. It appears that that Tilde (~) no longer resolves to...
Liu asked 23/11, 2021 at 14:31

6

Solved

I have a project which uses Angular 13 and I want to update it to Angular 14. When I try to update with: ng update @angular/core@14 @angular/cli@14 I get: Package "@angular-eslint/schematics&...
Sarisarid asked 10/6, 2022 at 9:55

3

Solved

I am trying to call view child of a child component from parent and getting undefined in the console. see the image also see the stack blaze for the same https://stackblitz.com/edit/angular-ivy-k4m...
Douty asked 30/3, 2022 at 6:57

2

Solved

I just finished creating an ASP.NET Core app with Angular as described in this tutorial. When creating the ASP.NET Core project, I checked the option to enable Windows Authentication. As long as I ...
Grandiose asked 12/4, 2022 at 12:2

1

Solved

I am updating from Angular 12 to 13. Seeing this error, haven't found any solution to it yet. Can someone point me in the right direction? My package.json { "name": "test-app",...
Broughton asked 12/12, 2022 at 12:20

1

I get this error: C:\Users\myname\Projects\ConfigEditor\MesConfiguration.WebClient\node_modules\tslib\tslib.es6.js:24 export function __extends(d, b) { ^^^^^^ SyntaxError: Unexpected token 'exp...
Driblet asked 21/3, 2022 at 16:14

4

When running ng deploy I get the following error: An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID See "C:\Users\theoh\AppData\Local\Te...
Backblocks asked 19/11, 2021 at 13:31

2

I run my server app with command: ng serve and get error in browser console: Firefox cannot connect to the wss://dev.domain.com/ws server. [webpack-dev-server] Trying to reconnect... or on chrome...
Fritzie asked 17/6, 2022 at 12:18

3

I moved from angular 12 to angular 13 and I've had a new error. So basically I used to load the culture of the user by importing the locale file. const localeUri = `@angular/common/locales/${local...
Household asked 12/11, 2021 at 16:35

3

Solved

I just upgraded to Angular 13 from Angular 12 and also updated some other NPM packages. One of them contained scss files that are referenced in my angular.json file. This was never a problem, but a...
Upswell asked 11/1, 2022 at 21:28

2

In v12 you could use the following code to load/import a component dynamically, access its NgModule through ComponentFactory and then add it to the DOM using ViewContainerRef. const injector: Injec...
Halpern asked 27/1, 2022 at 16:47

2

I have tests from an angular 12 project that work just fine. I've upgraded the project to angular 13 and now they don't work. This is my test file: import { Component } from '@angular/core'; import...
Decentralization asked 10/3, 2022 at 9:41

1

I'm getting the following error when running a test in Jest, using Angular 13: Unexpected value 'NgxsRootModule' imported by the module 'DynamicTestModule'. Please add an @NgModule annotation. 4...
Roadwork asked 5/4, 2022 at 14:42

2

Solved

According to the docs, there's nothing called .angular being regarded. Yet, in my project, I get that directory, immediately in the root of the project (on the same level as e.g. package.json). It ...
Kerwon asked 22/11, 2021 at 17:17

1

I have custom theme pallet for my project which is working fine with version ^12.2.13 of the angular material but not with ^13.2.3. Below is my SCSS for custom theming: custome-mat-theme.scss @impo...
Shaffert asked 28/2, 2022 at 15:31

0

After an upgrade to Angular 13, my Jest unit tests are failing and i cannot understand why and how to fix them. I´ve searched for a while now and i have found some info for similar cases. It seems ...
Itacolumite asked 2/3, 2022 at 18:43

© 2022 - 2024 — McMap. All rights reserved.