-
Notifications
You must be signed in to change notification settings - Fork 371
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
Module not found: Error: Package path . is not exported from package F:\React-eco\myapp\node_modules\firebase (see exports field in F:\React-eco\myapp\node_modules\firebase\package.json) #1730
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @sureshjangid looks like you are using the https://github.com/firebase/firebase-js-sdk and not the In the future, please do not share any sensitive information about your project (including credentials and api keys) in public Github issues. |
Closing due to inactivity. We can reopen later if needed. Thanks! |
Was this issue solved? @lahirumaramba I'm having the same issue! |
Having a similar issue? What is the fix? Can anyone please explain the root cause |
Having the same issue. How do I fix it? |
This issue sucks! Any solution yet? |
Could you provide us with more information on how to reproduce this issue? A minimal repro would also help. Thanks! |
1 similar comment
Could you provide us with more information on how to reproduce this issue? A minimal repro would also help. Thanks! |
Just change your version of firebase in both package.json and packag-lock.json to 8.6.8, worked for me |
import firebase from 'firebase';
import 'firebase/auth';
import 'firebase/storage';
import 'firebase/firestorage';
const firebaseConfig = {
apiKey: " ** ",
authDomain: " ** ",
projectId: " ** ",
storageBucket: " ** ",
messagingSenderId: " ** ",
appId: " ** "
};
firebase.initializeApp(firebaseConfig);
const auth = firebase.auth();
const fs = firebase.firestore();
const storage = firebase.storage();
export {auth,fs,storage}
The text was updated successfully, but these errors were encountered: