Questions tagged [angular14]

For questions regarding Angular specific to version 14. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.

536 questions
0
votes
0 answers

Angular 14 multiple link icon request when appending fragment html to document.head

Angular 14.0.1 Nx 14.7 The case is: I want to build link href dynamically when app starts, as it depends on the dynamic config. Whenever I append or modify link href in the head, request for the used one icon made (all request the same). I this…
0
votes
0 answers

pdfjs-dist package Cannot find name 'OffscreenCanvasRenderingContext2D' Error In Angular 14, Dot Net Core 5

dotnet core 5 Angular 14 Installed npm install pdfjs-dist import * as pdfjsLib from 'pdfjs-dist'; then Error:- Microsoft.AspNetCore.SpaServices: Error: Error: node_modules/pdfjs-dist/types/src/display/text_layer.d.ts:119:41 - error TS2304: Cannot…
JUNAID M
  • 33
  • 1
  • 5
0
votes
0 answers

NGRX Application to SSR using NG Universal

Application not loading any UI and get this in terminal HttpErrorResponse { headers: HttpHeaders { normalizedNames: Map(0) {}, lazyUpdate: null, headers: Map(0) {} }, status: 0, statusText: 'Unknown Error', url:…
0
votes
0 answers

Angular ReferenceError: Cannot access 'Mn' before initialization after usging d3-org-chart?

I am using "d3-org-chart for implementing org chart in our angular app with 14 version i have tried each and everything according to doc but after loading i got Cannot access 'Mn' before initialization i am using below version for "d3-org-chart as…
Kapil Soni
  • 1,003
  • 2
  • 15
  • 37
0
votes
0 answers

Angular 14 input file (change) not firing

In my HTML: In my controller: uploadFile(event: any) { const file: File = event.target.files[0]; } When the page appears, the input is visible with the button "browse". When clicking the…
user3027595
  • 111
  • 1
  • 1
  • 6
0
votes
0 answers

Angular Material FlatTreeControl. Parent has added checkmark when all children removed

Angular Material FlatTreeControl. The Parent node has checkmark added when all children removed. This checkmark is added somewhere by AM which is incorrect as it should be unchecked. If the user removes the checkmark then the checkmark tracking…
0
votes
0 answers

how to get url in JEST for Angular?

Good afternoon colleagues!!! I turn to you because I don't know what else to do hahaha, I tell you that within my code I have the following section. Depending on the path where I am standing is some functionality that my component does. But, I need…
0
votes
1 answer

Angular route segments with missing parent: how to avoid errors?

I have an Angular 14 app that uses the routing module, and I have a couple of routes that look like this: {path: "settings/global", component: GlobalSettingsEditComponent, ...}, {path: "settings/tenant", component: TenantSettingsEditComponent,…
Master_T
  • 7,232
  • 11
  • 72
  • 144
0
votes
1 answer

caught SyntaxError: Strict mode code may not include a with statement Angular 14 and I removed the file creating the error but it's still happening

I have removed the culprit line of code export { renderModule, renderModuleFactory } from '@angular/platform-server'; and followed exactly what to do here... Uncaught SyntaxError: Strict mode code may not include a with statement and yet, I STILL…
Peter The Angular Dude
  • 1,112
  • 5
  • 26
  • 53
0
votes
0 answers

Issue with Jest after migrate from Angular 13 to Angular 14

I migrate my Angular app from 13 to 14 and after running my unit test i have seen some new errors. Unexpected directive 'MockOfRouterOutlet' imported by the module 'MockOfRouterModule'. Please add an @NgModule annotation. Do i have to do some…
0
votes
0 answers

I have a angular project with version 11, I am upgrading my project to latest angular 15 or 16

I have an angular project with version 11, I am upgrading my project to latest angular 15 or 16.I have upgraded sucessfully till 13, but when I am upgrading from 13 to 14 angular version I am getting below compilation issue. enter image description…
0
votes
0 answers

While consuming API Heavy data getting Aw snap error After Upgrade to V14, working fine in Angular 9

Hi We upgraded from Angular V9 to V14 recently. We are facing issue in loading JSON data and saving it as Excel. we are using below libs in package file.. "file-saver": "^1.3.8", "@types/file-saver": "^1.3.0", "@types/html2canvas":…
0
votes
0 answers

Angular 14: How to make routing for multi applications project

I have created an angular workspace with parent and child applications. Folder structure looks next way: client\ + projects\ | +sub-app1 <- child application #1 | +sub-app2 <- child application #2 ... + src\ <- parent application here I made next…
Jivopis
  • 121
  • 11
0
votes
0 answers

Angular 14 ng lint is giving young object promotion failed Allocation failed

Recently I have migrated to angular 14 with node version 14.20.0, I do not have any vulnerabilities. npm start and production build all are working fine but ng lint gives below error : Kindly help me to solve this issue ?
apurv jain
  • 21
  • 2
0
votes
0 answers

Spring-boot, Angular14, google sign in Integration

I'm trying to integrate google-Oauth2 spring Boot and Angular. I'm calling the google sigin from angular and after getting the idToken I'm passing it to my springBoot app to the login endpoint there I am generating the accessToken and refreshToken…