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

firebase import path change #222

Open
Dev-it-a-dev opened this issue Jul 28, 2022 · 0 comments
Open

firebase import path change #222

Dev-it-a-dev opened this issue Jul 28, 2022 · 0 comments

Comments

@Dev-it-a-dev
Copy link

Dev-it-a-dev commented Jul 28, 2022

operators.d.ts and facades.d.ts file gives me errors about auth and User interfaces.

Solved by changing the path of their firebase import:
from

import firebase from 'firebase/app'

to -->

import firebase from 'firebase/compat/app'

Please make the change as soon as possible, thanks

Edit:
Also every .js file in node_modules\capacitor-firebase-auth\dist\esm_ gives me errors

For example:

./node_modules/capacitor-firebase-auth/dist/esm/definitions.js:6:22-66 - Error: export 'default' (imported as 'firebase') was not found in 'firebase/app' (possible exports: FirebaseError, SDK_VERSION, _DEFAULT_ENTRY_NAME, _addComponent, _addOrOverwriteComponent, _apps, _clearComponents, _components, _getProvider, _registerComponent, _removeServiceInstance, deleteApp, getApp, getApps, initializeApp, onLog, registerVersion, setLogLevel)

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

1 participant