Questions related to upgrading AngularJS (v1.x) application to Angular (v2+). This tag should be used for questions related to preparing AngularJS application for upgrade, running a hybrid AngularJS/Angular application, and transitioning out of hybrid mode.
Questions tagged [angular-upgrade]
213 questions
0
votes
0 answers
ExperimentalDecorators property not getting picked up from my tsconfig file in Angular12
I have updated my Angular11 project to Angular12, but getting errors like below:-
Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or…

Satyam Singh
- 188
- 1
- 3
- 11
0
votes
0 answers
SassError: This at-rule is not allowed here. - @import "../_appwork/include";
I am trying to upgrade my angular version to 13 and after updating the version I am getting the below error in the sass files.
This is my sample code
@if $enable-light-style {
.light-style {
@import "../_appwork/include";
…

az rnd
- 643
- 3
- 14
- 28
0
votes
0 answers
Metronic v7 Angular Demo1 upgrade to v8
I'm currently upgrading Angular to the latest Metronic going from v7 to v8. Im noticing that, a lot of missing components like the subheader and wizard 3 etc. How do we get around these issue when upgrading?
Thank you
I've Tried to read metronic…
0
votes
0 answers
Angular upgrade from 9 to 10 getting error "export 'ɵLOCALE_DATA' was not found in '@angular/core" while npm start
I Tried to upgrade my application from angular 9 to 10 but migration got failed by giving an error "unable to move esnext to es2020 in module. failed to parse tsconfig. So manually I have added es2020 in module value in tsconfig file. After that I…

Rahi Muzammil
- 1
- 1
0
votes
0 answers
Upgrading to Angular 14 but my module isn't recognized anymore
I have a project that I am working on it since angular 4 (I started it few years ago). I just upgrade it from 11 to 14 (one by one, 11->12, 12->13, 13->14).
I tested on angular 13 before moving to angular 14 and everything looks fine.
When I…

nightingale2k1
- 10,095
- 15
- 70
- 96
0
votes
0 answers
Angular Upgrade correct process
We are upgrading angular from 4 to 5 and we have followed all of the instructions which are provided by the angular update tool
https://update.angular.io/?l=3&v=4.0-5.0
But we are getting many third-party packages(like lodash, datatable, jquery,…

Rushabh Rakholiya
- 77
- 5
0
votes
0 answers
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. | After Angular upgrade
After a simple Angular Upgrade from 11 to 12, I am getting the following error for many ".HTML" files.
You may need an appropriate loader to handle this file type, currently
no loaders are configured to process this file.…

N.K
- 2,220
- 1
- 14
- 44
0
votes
1 answer
Angular component is not a known element
I have recently upgraded my angular project from angular 8 to angular 9, when I try to run serve command I am getting below error.
error NG8001: 'app-abcd-breadcrumb' is not a known element:
1. If 'app-abcd-breadcrumb' is an Angular component, then…

Anshul
- 118
- 1
- 11
0
votes
1 answer
Angular version upgrade 8 to 9
I am updating my angular project version from 8 to 9, after resolving other build errors when i run ng serve my compilation is getting stuck at
15% building 43/44 modules 1 active…

Anshul
- 118
- 1
- 11
0
votes
1 answer
Angular 13 upgrade : Pulling older Angular version code into latest code
I have an angular application which was earlier running on Angular 8.2 . I upgraded the code using a particular branch to Angular v13. Now there were some additional changes made in other branches, which are on v8.2 . I want to pull the code running…

Sai Krishna
- 593
- 1
- 8
- 25
0
votes
1 answer
ng serve not working after angular upgrading to Angular 13
I upgraded my angular project from 12 to 13 using the angular update guide provided here https://angular.io/guide/update-to-latest-version without any issues. But while running the project on my local machine (mac) with "ng serve --open" command its…

Durga Prasad
- 121
- 1
- 4
- 13
0
votes
0 answers
Angular 10 - MIME type Not Supported Issue
I recently upgraded my Angular Code from v4 to v10. When compiled and served on localhost the application run perfectly fine. But when deployed on server I do get below errors in console.
Can someone please guide what's going wrong here ?
Refused to…

iASD
- 29
- 1
- 5
0
votes
2 answers
Angular Mention Library is not working with Angular version 9
I have successfully upgraded my project from Angular 9 to Angular 10.
I am using the angular-mention library to get the username suggestion when typing @ keyword.
Till Angular 8 this feature was working fine but after the upgrade when I am typing @…

Jayesh Vyas
- 1,145
- 3
- 15
- 35
0
votes
1 answer
Typescript version issue while upgrading to Angular 12
I'm constantly getting this error:
- Generating browser application bundles (phase: setup)...
An error occurred during the build:
Error: The Angular Compiler requires TypeScript >=4.2.3 and <4.4.0 but 4.5.4 was found instead.
at checkVersion…

SilverFish
- 1,014
- 6
- 28
- 65
0
votes
0 answers
Angular Upgrade from Version 7 to Version 12
i have upgraded to version 12 and when i try to compile (ngserve),i am getting the below error
Compiling @angular/http : es2015 as esm2015
D:\EclipseWS1.3\node_modules\@angular\compiler-cli\ngcc\src\writing\in_place_file_writer.js:58
…

Ganesh
- 1
- 3