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

AngularFire 17.0.0 throwing errors with Angular 17.0.0 #3493

Open
ecancil opened this issue Jan 9, 2024 · 3 comments
Open

AngularFire 17.0.0 throwing errors with Angular 17.0.0 #3493

ecancil opened this issue Jan 9, 2024 · 3 comments

Comments

@ecancil
Copy link

ecancil commented Jan 9, 2024

I have recently upgraded to the newest angularfire 17.0.0 and am having trouble getting some fairly straight forward things working. Filled out the template below. Thanks for your help.

Version info

Angular: 17.0.0

Firebase: 10.7.1

AngularFire: 17.0.0

Steps to set up and reproduce

Sample data and security rules

Debug output

** Errors in the JavaScript console **

Internal server error: R3InjectorError(Standalone[_AppComponent])[_ShareableService -> _ShareableService -> Firestore2 -> Firestore2]: NullInjectorError: No provider for Firestore2! at NullInjector.get (c:/Users/ecanc/OneDrive/Documents/CaloKiwi/public/card/node_modules/@angular/core/fesm2022/core.mjs:5467:21) at R3Injector.get (c:/Users/ecanc/OneDrive/Documents/CaloKiwi/public/card/node_modules/@angular/core/fesm2022/core.mjs:5918:27) at R3Injector.get (c:/Users/ecanc/OneDrive/Documents/CaloKiwi/public/card/node_modules/@angular/core/fesm2022/core.mjs:5918:27) at injectInjectorOnly (c:/Users/ecanc/OneDrive/Documents/CaloKiwi/public/card/node_modules/@angular/core/fesm2022/core.mjs:910:36) at Module.ɵɵinject (c:/Users/ecanc/OneDrive/Documents/CaloKiwi/public/card/node_modules/@angular/core/fesm2022/core.mjs:916:40) at Object.ShareableService_Factory (c:/Users/ecanc/OneDrive/Documents/CaloKiwi/public/card/src/app/shareable.service.ts:7:30) at eval (c:/Users/ecanc/OneDrive/Documents/CaloKiwi/public/card/node_modules/@angular/core/fesm2022/core.mjs:6030:33) at runInInjectorProfilerContext (c:/Users/ecanc/OneDrive/Documents/CaloKiwi/public/card/node_modules/@angular/core/fesm2022/core.mjs:871:5) at R3Injector.hydrate (c:/Users/ecanc/OneDrive/Documents/CaloKiwi/public/card/node_modules/@angular/core/fesm2022/core.mjs:6029:9) at R3Injector.get (c:/Users/ecanc/OneDrive/Documents/CaloKiwi/public/card/node_modules/@angular/core/fesm2022/core.mjs:5909:23) (x2)

** Screenshots **

Error
Injection

Expected behavior

Compiling and injecting correctly

Actual behavior

Getting error when injecting

@google-oss-bot
Copy link

This issue does not seem to follow the issue template. Make sure you provide all the required information.

@aprilrjwilliams
Copy link

Having the same issue - did you find a solution?

@aprilrjwilliams
Copy link

@ecancil

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

3 participants