Questions tagged [angular-upgrade]

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.

213 questions
0
votes
0 answers

ng-particle options signature not miss matched Error

i am upgrading my angular 11.0.2 ngx-admin dashboard project to Angular 15.2.9 during package update i got following error Error: node_modules/ng-particles/lib/ng-particles.component.d.ts:18:89 - error TS2344: Type '{ options: { alias: "options";…
0
votes
0 answers

After angular 16 and devExtreme 23.1 upgrade getting expectation prod mode

I am facing an issue after angular 16 and devExtreme 23.1 upgrade, on runtime I am getting an error as "Uncaught exception: Bs is not defined" , and it's only giving exceptions in production mode "ng build --configuration production". In…
Rinku
  • 1
0
votes
0 answers

Upgrading Angular Project from Version 11 to 16 - Import Errors in NgModule

I'm currently in the process of updating an existing Angular project from version 11 to version 16. I've successfully managed the transition up to version 15, but I've encountered a challenge upon reaching version 16. The issue I'm facing is that…
0
votes
0 answers

upgraded angular 10 to 16, nebular from 6.0.0 to ^9.0.0 facing scss files issue

using ngx-admin panel with nebular in angular when angular was 10 everything is fine with nebular/theme 6 i upgraded angular to 16, there are so many issues .changed nebular/theme to ^9.0.0 I am able to compile successfully but CSS or ui is…
ramya
  • 1
  • 2
0
votes
0 answers

Unable to mount single-spa angular application after angular upgrade

I am unable to mount the single-spa application after upgrading to the latest version of webpack 5 and angular 14. I have been working towards upgrading our application from angular 8 to angular 14, webpack 4.x to webpack 5.x and single-spa-angular…
0
votes
0 answers

Full Calendar upgrade to 6.1.8 version in angular project 15

I have recently upgraded my project from Angular14 to Angular15 version15.2.9. Accordingly I upgraded the FullCalendar packages to 6.1.8 for compatability. Everything is working fine except that the time-slot that used to show earlier in the UI does…
0
votes
0 answers

TypeError: Cannot read properties of null (reading 'flags')

I am facing an error with Angular 15.2.9 version: TypeError: Cannot read properties of null (reading 'flags') ng v: I tried all the answers which are for Angular 9, but no luck. karma.conf.js // Karma configuration file, see link for more…
Pathik Vejani
  • 4,263
  • 8
  • 57
  • 98
0
votes
1 answer

Angular upgrade from 14 to 15 causing angular material date range mat label text overflow

I have a demo application in angular, where we have a date range picker with mat label. Adding long text to mat label is geting text overflow. Adding overflow hidden doesn't…
Pradeep
  • 1,192
  • 2
  • 12
  • 30
0
votes
0 answers

An unhandled exception occurred: request to http://registry.npmjs.org/@angular%2fcli failed, reason: socket hang up

{ "name": "ez-new-architecture", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies":…
0
votes
0 answers

Angular Upgrade - Angular2 have issue with angular1 routing

I am upgrading my angular1 application using the bootstrapModule. Everything seems working as it should. I can see my angular1 UI on the angular2 but having issue with the angular2 routing overriding the angular1. For example: I go to angular1 page…
Mr. H
  • 3
  • 2
0
votes
0 answers

Update Angular 7 application (not using angular.json and cli) to latest Angular 15 without CLI

I am planning to upgrade an application to Angular 15 written on Angular 7 + Webpack and I am not using CLI and angular.json in my application. Can someone give me steps to follow to upgrade the app without cli? Thanks in advance.
D_B
  • 483
  • 1
  • 6
  • 8
0
votes
2 answers

Angular and NodeJS version conflict

I have a Angular application that is currently running version 6. I am working on updating the version to at least 12. The issue I have is that the node version is 14.15.0 does this matter at the moment? Since no code changes are being done just…
0
votes
0 answers

Error: Optimization error [scripts.js]: Error: Transform failed with 1 error:

While doing ng serve I'm getting following error I tried by uninstalling all npm packages but still facing same error. ** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ ** × Failed to…
NIKHIL RANE
  • 4,012
  • 2
  • 22
  • 45
0
votes
0 answers

Angular Upgrade Throws Reference Error: Cannot Access zl before initialization

I am trying to upgrade from 10.2 to 12. Migration ran successfully. After migrating i am getting the cannot access error. Everytime the error keeps on changes from zl of undefined, kr of undefined. This error is throwing from the main.js bundle.…
0
votes
1 answer

Angular11 update, ng2-charts, Error: Can't import the named export 'Chart' from non EcmaScript module (only default export is available)

I am currently working on updating the angular version of a project. It was v10 and I updated to v11. Fixed many errors, but ng2-charts keep throwing these errors on ng serve. Error: node_modules/ng2-charts/lib/base-chart.directive.d.ts:39:21 -…