-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suboptimal experience upgrading from 7 to 8 #15278
Comments
Running
I think it's trying to telling me to upgrade |
having a similar issue updating from 7 to 8, this works fine: Resulted in following angular packages:
Running
On an extra note running
|
Seems related to #13095, #14980 etc, workaround
|
The broken |
I just attempted to follow the update guide and I have a number of updates that reported that they updated to angular 8 but on inspection they are at 9.0.0-next.1 |
Does anyone here have answers on the incompatible peer dependency issues that come up with the upgrade? I use the guide [https://update.angular.io/#7.0:8.0] with no mention of this. As I try to chase down the dependency issues I get stuck on typescript. so I may try rpm run update:check @angular/cli @angular/core and get incompatible on tsickle, so I add that, then the next and eventually I come full circle back to the tsickle incompatible issue. @angular/cli @angular/core @ngrx/router-store tsickle @angular/animations @angular/forms @angular/flex-layout @angular/material @angular/common @angular/http @angular/router @angular/compiler-cli typescript Are we ignoring these errors or is this bad and we should stop? |
@edster23 run |
I ended up finding a way through after I reminded myself that the upgrade instructions say not to upgrade material. I had to append several other items besides @angular/core and @angular/cli , but did not capture the exact ones here. When I went to do material, I still got into a circular problem with tsickle and typescript, creeping in a 9 beta dependency. I eventually did a force and got through. Now I am stuck on typescript thinking setInterval returns a Timeout instead of a number, but when I view source, it returns a number. Still looking into this one... Type 'Timeout' is not assignable to type 'number'. I tried to roll back to 3.4 and still had this issue. I plan to go out and see what the changes are online, just weird that viewing source on the interface still says number... |
I have tried to update a 7.3 Angular application to 8 running into so many issues. The update guide did not work. I have ended up here...
And...
Really stuck now and not sure what to do? I am that desperate I am thinking of creating a new Angular project and moving file by file from the old project to the new. About a weeks work at least. How do I get a 7.3 Angular project to at least v8? I am happy to migrate code, but the output above is not helping. Some help perhaps? |
@peter-snr |
@wy193777 I have reverted to 7.3 but will consider that option when we eventually decide to go to 8. The app is quite complex www.prism360.co.uk so I do not expect it to be easy. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command
ng update
Is this a regression?
Not sure
Description
I'm on Angular 7 and want all the goodness of Angular 8. I know that the CLI helps me do this, so I run
ng update
assuming this will help guide me to the latest version.Here's what I experienced in the terminal:
I talked with Vikram and now understand I need to run
ng update @angular/cli @angular/core
, which is also repeated on the site: https://angular.io/cli/updateHowever, I assume the CLI would have helped me figure this out in the terminal instead of giving me odd messages like
@angular/http
has an incompatible peer dependency to core.It would have been nice for the CLI to understand my intentions and either perform the right commands for me, or guide me to the docs site or upgrade site to help me correct my commands.
🔬 Minimal Reproduction
You can check out my app and run it from there: https://github.com/crafted/crafted
🌍 Your Environment
The text was updated successfully, but these errors were encountered: