@nebular/firebase-auth is not compatible with firebase v8
See original GitHub issueIssue type
I’m submitting a … (check one with “x”)
- bug report
- feature request
- question about the decisions made in the repository
Issue description
Current behavior:
For project with firebase
v8 @nebular/firebase-auth is not working, with the following error:
ERROR in <…>/node_modules/@nebular/firebase-auth/ivy_ngcc/fesm2015/index.js 323:29-33 "export ‘auth’ was not found in ‘firebase/app’
Expected behavior:
According to https://firebase.google.com/support/release-notes/js
Breaking change: browser fields in package.json files now point to ESM bundles instead of CJS bundles. Users who are using ESM imports must now use the default import instead of a namespace import.
Before 8.0.0 import * as firebase from ‘firebase/app’
After 8.0.0 import firebase from ‘firebase/app’
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Upgrade from version 8 to the modular Web SDK - Firebase
The upgrade steps in this guide will be based around an imaginary web app that uses the Authentication and Cloud Firestore SDKs. By...
Read more >firebase error (auth/admin-restricted-operation) - You.com
I intend to use Firestore as my database of choice. I, however, cannot seem to get a user registered without the error popping...
Read more >Using Firebase - Expo Documentation
Your app requires access to Firebase services not supported by the Firebase JS SDK, such as Dynamic Links, Crashlytics, and so on. ·...
Read more >React Native Firebase
To get started, you must first setup a Firebase project and install the "app" module. ... Flipper: use_frameworks is not compatible with Flipper....
Read more >'firebase/app' does not contain a default export (imported as ...
With version 9 things changed a bit for importing firebase, ... v9 compat packages are API compatible with v8 code import firebase from ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I get this as well:
ERROR in node_modules/@nebular/firebase-auth/strategies/base/firebase-base.strategy.d.ts:4:34 - error TS2694: Namespace ‘“/Users/MRR/Developer/ngx-admin/node_modules/firebase/index”’ has no exported member ‘auth’.
4 import UserCredential = firebase.auth.UserCredential; ~~~~ node_modules/@nebular/firebase-auth/strategies/password/firebase-password.strategy.d.ts:1:10 - error TS2614: Module ‘“…/…/…/…/firebase”’ has no exported member ‘User’. Did you mean to use ‘import User from “…/…/…/…/firebase”’ instead?
1 import { User } from ‘firebase’; ~~~~
This might help: issue: https://github.com/anthonynahas/ngx-auth-firebaseui/issues/179 solution: https://github.com/AnthonyNahas/ngx-auth-firebaseui/commit/73ca9b986cf0fa300898f3890e8ec4440005d7d9
@fncap PR akveo/nebular#2584 got merged recently.
upd: included into
7.0.0-beta.2