Skip to content

Angular 11 released #2651

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

Closed
rkchaudhary4 opened this issue Nov 12, 2020 · 6 comments
Closed

Angular 11 released #2651

rkchaudhary4 opened this issue Nov 12, 2020 · 6 comments

Comments

@rkchaudhary4
Copy link

Angular version 11 has been released but the latest version of angularfire is not compatible with it. Following dependency errors are there:
Package "@angular/fire" has an incompatible peer dependency to "@angular/common" (requires "^9.0.0 || ^10.0.0", would install "11.0.0")
Package "@angular/fire" has an incompatible peer dependency to "@angular/core" (requires "^9.0.0 || ^10.0.0", would install "11.0.0")
Package "@angular/fire" has an incompatible peer dependency to "@angular/platform-browser" (requires "^9.0.0 || ^10.0.0", would install "11.0.0")
Package "@angular/fire" has an incompatible peer dependency to "@angular/platform-browser-dynamic" (requires "^9.0.0 || ^10.0.0", would install "11.0.0")
Kindly upgrade angularfire to support the new version of angular.

@Splaktar
Copy link
Contributor

I believe that this is already being worked on. I don't see these when I use 6.1.0-rc.1.

@Splaktar
Copy link
Contributor

Also after updating to Angular v11, I was getting an error with ng deploy due to some deprecated Workspace APIs being removed in the CLI devkit.

An unhandled exception occurred: Cannot read property 'Workspace' of undefined

That is resolved in 6.1.0-rc.1 via PR #2647.

@aram-m
Copy link

aram-m commented Nov 12, 2020

Hey i got this after v11 update
node_modules/@angular/fire/storage/observable/fromTask.d.ts:3:83 - error TS2694: Namespace 'firebase' has no exported member 'default'.

@jamesdaniels
Copy link
Member

Per the compatibility table, please upgrade to 6.1.0-rc for now. We'll release to stable once we've had enough testing on Angular 11 to be comfortable.

I'd also suggest you upgrade to Firebase v8.0.1+, if you haven't yet.

@jamesdaniels jamesdaniels pinned this issue Nov 12, 2020
@jamesdaniels
Copy link
Member

Closing with work-around, pinning since a lot of folk will probably run into this.

@jamesdaniels
Copy link
Member

6.1.0 is out, unpinning.

@jamesdaniels jamesdaniels unpinned this issue Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants