Questions tagged [angular14upgrade]

43 questions
0
votes
0 answers

Migrating from TSLint to ESLint without npm install on Angular 14

We're upgrading a bare-bone project from Angular11 to Angular14 and I'm stuck on the migration from TSLint 6.1.0 to ESLint. The issue I'm encountering is that when I try to run npm i -D eslint @typescript-eslint/eslint-plugin…
0
votes
0 answers

Did Angular upgradation now the datepicker is not loading

I did an Angular upgradation from 5 to 14 and now the calendar is not loading. I changed the plugin from ng2-datepicker to ngx-datepicker I have tried everything i can its been few days
0
votes
1 answer

404 Error Page displaying automatically when the application is load for the First Time in Angular 14

I have created a small application in Angular. I'm trying to make 404 Error Page in that application. If user put any wrong URL then this Error page will be Display automatically. For that I have done - I have created a Separate Component name as…
0
votes
1 answer

Expected 0-1 arguments, but got 2.ts(2554) in Subscribe Error handler

we have just recently upgraded Rxjs Latest(8.0.0-alpha.5) version.And this error started appearing. this.ReportController.ExportTableExcelBackground(model).subscribe( (x) => { this.appController.BlockApplication(false); …
ammad khan
  • 1,022
  • 1
  • 10
  • 14
0
votes
0 answers

how to solve this error --> "Property i18nFile is not allowed."

errors: Property i18nFile is not allowed Property i18nFormat is not allowed Property i18nLocale is not allowed { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { …
0
votes
0 answers

Angular 14 - upgrade issues

I am trying upgrade my project to angular. My package.json looks like below "dependencies": { "@angular/animations": "^14.1.3", "@angular/cdk": "^14.1.3", "@angular/common": "^14.1.3", "@angular/compiler": "^14.1.3", "@angular/core":…
nani21984
  • 911
  • 2
  • 13
  • 21
0
votes
0 answers

Why angular.json is removed from Angular 14?

I have created a new angular project with the ng new command. Angular CLI: 14.2.0 Node: 16.14.0 Package Manager: npm 8.3.1 OS: darwin arm64 Angular: 14.1.3 It has created a project which includes angular.json and the commands ng serve, and ng build…
0
votes
2 answers

Upgrading from Angular 12 to 14 is failing

I want to update this code to Angular 14 from 12, but ng update isn't working: https://github.com/PacktPublishing/Reactive-Patterns-with-RxJS-for-Angular/tree/main/Chapter04 npm install fails with: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to…
Dean Schulze
  • 9,633
  • 24
  • 100
  • 165
0
votes
1 answer

Upgrade Angular Material from 13 to 14

I am trying to upgrade my Angular application that uses material from Angular 13 (13.1.0) to 14 (14.0.1). I am using steps provided at https://update.angular.io/?v=13.0-14.0. My Angular and CLI versions upgraded successfully but getting following…
Abhi
  • 1,624
  • 2
  • 16
  • 29
-1
votes
1 answer

Left side of comma operator is unused and has no side effects in angular 14

I have updated angular v10 to v13. Migration is completed without any error but while I'm trying to run ng serve command, I'm getting this compile time error. tsconfig.ts: { "compileOnSave": false, "compilerOptions": { "outDir":…
-1
votes
1 answer

underscore__WEBPACK_IMPORTED_MODULE_3__ is not a function

I am stuck with issue. Has anyone encountered this. As I am unable to get it what it is asking for. This is how I imported this library highlighted in yellow. This how it is showing in browser error.
ammad khan
  • 1,022
  • 1
  • 10
  • 14
-1
votes
1 answer

I am trying to upgrade angular 12 to 14 but I am getting this issue in GitLab pipeline ng-toolkit/universal

npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @ng-toolkit/universal@8.0.3 npm ERR! Found: @angular/common@14.1.0 npm ERR! node_modules/@angular/common npm ERR! @angular/common@"^14.1.0" from the…
-1
votes
1 answer

Angular 14 Module build failed (from ./node_modules/sass-loader/dist/cjs.js) and (from ./node_modules/mini-css-extract-plugin/dist/loader.js)

Theme selected : custom Error: SassError: @use rules must be written before any other rules. ╷ 39 │ @use '@angular/material' as mat; ╵ src\custom-theme.scss 39:1 root stylesheet enter image description here
1 2
3