Skip to content
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

ng update fails on zone.js #18825

Closed
christian-steinmeyer opened this issue Sep 19, 2020 · 2 comments
Closed

ng update fails on zone.js #18825

christian-steinmeyer opened this issue Sep 19, 2020 · 2 comments

Comments

@christian-steinmeyer
Copy link

christian-steinmeyer commented Sep 19, 2020

🐞 Bug report

Command (mark with an x)


- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [x] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?

Yes, the previous version in which this bug was not present was: ....

Description

A clear and concise description of the problem...

Updating from version 8.2.14 fails with an incompatible peer dependency on zone.js. When using the --force flag, the new project fails with out of memory errors.

🔬 Minimal Reproduction

ng update --all=true

🔥 Exception or Error


Package "@angular/core" has an incompatible peer dependency to "zone.js" (requires "~0.10.3", would install "0.11.1")

🌍 Your Environment


Angular CLI: 10.1.2
Node: 12.18.4
OS: win32 x64

Angular: 10.1.2
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1001.2
@angular-devkit/build-angular   0.1001.2
@angular-devkit/core            10.1.2
@angular-devkit/schematics      10.1.2
@angular/cdk                    10.2.1
@angular/fire                   6.0.2
@angular/material               10.2.1
@schematics/angular             10.1.2
@schematics/update              0.1001.2
rxjs                            6.6.3
typescript                      4.0.3

Anything else relevant?

I saw #15296 and other issues related, but they usually refer to typescript, not zone.js. Perhaps someone knows the last compatible version of zone.js?

@alan-agius4
Copy link
Collaborator

Related to #18813 and #15296 (The original issue is actually mentions this same error.)

The last compatible version of zone.js is 10.3.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants