DEV Community

Mohammed-Farhan
Mohammed-Farhan

Posted on

Firebase Issue

./src/firebase.js
Module not found: Can't resolve 'firebase'

I did (3 times)uninstalling, clear cache and installing latest version of firebase as answered by stack overflow community. Please can someone help me with this..

Top comments (2)

Collapse
 
rakibrahman profile image
RakibRahman

if firebase.js is in src folder
try this => import ./firebase.js

Collapse
 
stefanwrightcodes profile image
Stefan Wright

Hey,

Can you provide the code? it might help. If it's on a repo I could try and take a look for you :)