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

Can't resolve 'firebase' #10

Closed
kody435 opened this issue Feb 1, 2022 · 14 comments
Closed

Can't resolve 'firebase' #10

kody435 opened this issue Feb 1, 2022 · 14 comments

Comments

@kody435
Copy link

kody435 commented Feb 1, 2022

Failed to compile.

./src/firebase.js
Module not found: Can't resolve 'firebase' in '/CP/youtube-disney-clone/src'

🔴It is showing Module not found although it is present in src folder.🔴

Image:
Screenshot 2022-02-01 at 11 50 16 AM

@kody435
Copy link
Author

kody435 commented Feb 1, 2022

Pls help me

@advaitkhawase15
Copy link

install the firebase version 8.4.1 which was used in this clone.

@BlackWatch021
Copy link

Pls help me

If you want to go with the latest version of firebase then use this command to import firebase

  1. import firebase from 'firebase/compat/app';

and you are gonna need these import too if you stick with the latest version of firebase...

  1. import 'firebase/compat/auth';
  2. import 'firebase/compat/firestore';
  3. import 'firebase/compat/storage';

@vaibhavchobisa
Copy link

Pls help me

Did you get a solution to this, I am facing the same problem!

@Architsharma7
Copy link

I can resolve the issue.

@9391807200
Copy link

2022-08-14

@9391807200
Copy link

I am getting this error by using npm install firebase@8.4.1 version

@Architsharma7
Copy link

You can see how to fix this issue, i have made a pull request, see into it.

@9391807200
Copy link

2022-08-14 (1)
it is showing simply array not content

@9391807200
Copy link

You can see how to fix this issue, i have made a pull request, see into it.

not available

@Architsharma7
Copy link

#15

@9391807200
Copy link

please give clear guidance

@9391807200
Copy link

2022-08-14 (2)
it is showing simply array not content

@kody435
Copy link
Author

kody435 commented Aug 15, 2022

Bro try to reinstalling npm package

  1. Uninstall NODE_MODULES Folder.

  2. Write in Terminal npm i or npm install

@kody435 kody435 closed this as completed Feb 18, 2023
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

6 participants