Questions tagged [angular-migration]
26 questions
6
votes
2 answers
Angular Material Migration to 15 - MatButton and MatIconButton
After Angular Material Migration from 14 to 15 this error appears:
Error: NG0300: Multiple components match node with tagname button: MatButton and MatIconButton
Ideas how this can be fixed?

Juri
- 1,531
- 2
- 20
- 43
5
votes
0 answers
Difference between UntypedFormControl and FormControl #Angular14 #AngularMigration
I recently migrated from Angular12 to Angular14, Angular automatically converted FormControl to UntypedFormControl in some places. I observed that in some components where I am using FormControl it is still written as FormControl. So I am bit…

Chinmay Yogi
- 51
- 1
5
votes
3 answers
Problems after Angular Material update from 14 to 15
I'm working on an Angular project, updated from angular14 to 15, but after I install the new Material package the whole project seems visually broken. Wrong colors, margins, paddings.
The project only contains css style files, not scss. I think the…

bugesz
- 75
- 1
- 7
2
votes
1 answer
Angular 16 Can't bind to 'ng*'(ngClass, ngStyle, ngSwitch) since it isn't a known property of 'div'
I recently migrated to Angular 16 a business used application. After migration I have received error Can't bind to 'ngClass' since it isn't a known property of 'div'. The error is a compilation error which doesn't allow the application to run.
I…

AVB
- 21
- 2
2
votes
1 answer
Migration to Angular Material from 14 to 15 fails
Following the migration guide i try to run
ng generate @angular/material:mdc-migration
This is the output i get:
? Limit the migration to a specific directory? (Enter the relative path such as 'src/app/shared' or leave blank for all directories)…

Juri
- 1,531
- 2
- 20
- 43
1
vote
1 answer
After Angular Migration (from 12 to 14) still have vulnerabilities related to "d3-color vulnerable to ReDoS"
After Angular migration to 14, I have updated my "@swimlane/ngx-charts" to "20.1.2" and "d3" to "7.8.4",but after running command npm install still having 5 high severity vulnerabilities in my project:
how to fix those vulnerabilities as I am…

apurv jain
- 21
- 2
1
vote
1 answer
This version of CLI is only compatible with Angular versions ^15.0.0, but Angular version 16.0.0 was found instead
any help for this message
i still migrate my angular project from 8.2 to 15 ( **version by version **)
but i still have this problem :
This version of CLI is only compatible with Angular versions ^15.0.0,
but Angular version 16.0.0 was found…

Ghazi ben halima
- 11
- 3
1
vote
1 answer
migrating application from zend framework (ZF)+ AngularJS to zend framework + Angular
My application is in Zend framework + AngularJS. Where Zend framework gives us the routes and APIs for consuming in application.
current zend routes are like -
app.domain.com/home, app.domain.com/users
I am creating a new module let say it -…

Ranvir S.
- 29
- 3
0
votes
0 answers
Can we run angular SPA application into existing Asp.Net Core Application On Same domain
I am currently overseeing a substantial ASP.NET MVC Core 7 application (Client) that includes Razor pages. In addition,
there's an API housed within another project, developed using .NET Core 7.
The MVC application communicates with this API to…

Nabeel Iqbal
- 71
- 1
- 12
0
votes
0 answers
Can't bind to 'ngModel' since it isn't a known property of 'input'. I also import FormsModule in ngModule still giving error
`ngModel not working error image
HTML code
Typescript page
error NG8002: Can't bind to 'ngModel' since it isn't a known property of 'input'.

Shubham Arkas
- 9
- 2
0
votes
0 answers
Cannot find module '@firebase/app-types' or its corresponding type declarations
Error: node_modules/@firebase/app/dist/packages/app/index.d.ts:17:35 - error TS2307: Cannot find module '@firebase/app-types' or its corresponding type declarations.
17 import { FirebaseNamespace } from '@firebase/app-types';
…

Shubham Arkas
- 9
- 2
0
votes
0 answers
While migrating to angular v15.2.9, Custom CSS are throwing an error
`I am very much new at these migration parts, while updating angular versions I am facing these issues.
./src/app/app.component.scss?ngResource - Warning: Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
You probably don't mean to use…
0
votes
0 answers
Angular 7 to Angular 16 Migration
After a lot of struggle, I finally managed to migrate (or part of it) a project in Angular 7 to 16, following the official guide (https://update.angular.io/). There was a problem with the original project, which used a lib called node-sass, which in…

Leandro Nunes
- 41
- 2
0
votes
0 answers
Why after migrating angular from 8 to 9 i'm getting exceeded maximum budget on scss files
I migrated my Angular project from 8 to 9
When i execute the command ng build --prod
I'am getting multiple errors on scss files similar to the following :
ERROR in Exceeded maximum budget for…

Hassen Gaaya
- 80
- 9
0
votes
1 answer
Using ngx-treeview Angular 16
I'm trying to migrate Angular from 12 version to 16 and I have a package ngx-treeview, last update was for 10 version but it was used for 12 as well but it doesn't work now at all. I have an error
This likely means that the library (ngx-treeview)…

Densv03
- 1