I am upgrading the angular version from 2 to 6 by following the Angular Update Guide, but after migrating Angular CLI globally and locally, it could not generate the angular.json file. The project includes systemjs.config.js, it did not have angular-cli.json file, nor @angular/cli dependencies in package json. What can be done to solve this?
- check this stackoverflow.com/a/41403927/3710630Sujay– Sujay2018-08-28 13:53:59 +00:00Commented Aug 28, 2018 at 13:53
- How big is your project? If it's not really big, save yourself a lot of time and efforts debugging issues by creating a new Angular Project using AngularCLI and cut/pase your src folder. I'd have done that if I were you. You'll have to make a few changes to the angular.json, and package.json file if you're using any third party libraries.SiddAjmera– SiddAjmera2018-08-28 14:22:17 +00:00Commented Aug 28, 2018 at 14:22
- @SiddharthAjmera the project size is medium, but I think your idea will save a lot of time instead of spending too much time on debugging.Ashiq Ahmed– Ashiq Ahmed2018-08-29 07:23:04 +00:00Commented Aug 29, 2018 at 7:23
- I'm 100% sure it will.SiddAjmera– SiddAjmera2018-08-29 07:23:47 +00:00Commented Aug 29, 2018 at 7:23
Add a comment |