Migration of Angular 5 to Angular 6
NickName:V5NEXT Ask DateTime:2018-09-18T21:37:34

Migration of Angular 5 to Angular 6

I am following Angular migration tutorial to migrate from Angular 5 to 6.

https://update.angular.io/

After completing the entire process of migration, on trying to run application using ng serve, an error appears

The Angular CLI configuration format has been changed, and your existing configuration can be updated automatically by running the following command: ng update @angular/cli

I did as recommended but the issue still persists.

Angular Cli 6+ have angular.json instead of angular-cli.json. But shouldn't it be updated while updating the package.

I referred their git conversation. It says to use ng update and the file structure would automatically update, but mine haven't.

https://github.com/angular/angular/issues/23443

Copyright Notice:Content Author:「V5NEXT」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/52387885/migration-of-angular-5-to-angular-6

More about “Migration of Angular 5 to Angular 6” related questions

Migration of Angular 5 to Angular 6

I am following Angular migration tutorial to migrate from Angular 5 to 6. https://update.angular.io/ After completing the entire process of migration, on trying to run application using ng serve...

Show Detail

Angular js to angular 5 migration

I am trying to migrate my angularjs(1.6) to angular 5. As of now I am focusing over migration of one page and want to go for both frameworks angular js and angular 5 running in same application. I...

Show Detail

Migration of Angular 4 project to Angular 5

What are the major differences in Angular 4 and Angular 5? How much effort will be required for migrating Angular 4 project to Angular 5 Is there any official documentation available for migration...

Show Detail

RequestOptions migration Angular 5

I was using a custom request options in Angular 4 where I was doing the following: default-request-options.service.ts @Injectable() export class DefaultRequestOptions extends BaseRequestOptions {

Show Detail

Need Migration steps for Angular js to Angular

I am trying to migrate my angular js (1.5) to angular 8. I have gone through various links and found some approaches like going for incremental migration like angular js to angular 2, and then angu...

Show Detail

Migration from RxJS 5 to RxJS 6 in Angular 4.3 project

So I have a project on Angular 4.3.1 with RxJS 5.4.3? I need to move to RxJS 6 but keep existing version of Angular. I read this guide and steps that i should do is: Update rxjs to 5.5 version an...

Show Detail

Differences Between Angular 5 and Angular 6

What are the differences between Angular 5 and Angular 6. How can I update our application from Angular 5 to Angular 6. What are the major differences between Angular 5 and Angular 6?

Show Detail

Angular 6 migration PWA not working

I have recently migrated my app to Angular 6, it was working fine in angular 5, I faced a lot of issues but anyhow I resolved them, but PWA I am not able to migrate, in angular 5 PWA was working f...

Show Detail

Angular project migration 5 to 6 - Cannot find module '@angular/compiler-cli/src/tooling

I'm migrating my angular project from version 5 to 6 following the steps mentioned here angular migration steps. I did all steps but when i run the command ng serve, i got the error Cannot find mod...

Show Detail

Migration Angular 5 to 6 - 'ng update' hanging and do nothing

I'm migration Angular from 5 to 6. After added latest angular-cli to my project i try to execute 'ng update'. But absolutely nothing happens (the console hangs and i have to cancel it). ng versi...

Show Detail