react-static: Example: Firebase - Module not found: Can't resolve './firebase

Usin the latest react-static to build with react-create command with Select a template below... firebase-auth. after npm run start this is what I got… screen shot 2018-03-18 at 3 06 29 pm

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 4
  • Comments: 55 (2 by maintainers)

Most upvoted comments

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

I am having the same issue: used: -create-react-app files: -src/app.js -src/firebase.js import in app.js: -import firebase from ‘./firebase’; error: “/src/firebase.js Module not found: Can’t resolve ‘firebase’”

**Figured it out. Even though I have installed firebase tools, I still needed to install firebase. npm i firebase fixed it.

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

Yeah that worked for me. ty

This solution worked for me, however, I typed npm install firebase@8.10.0 removing the ^

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

I am having the same issue: used: -create-react-app files: -src/app.js -src/firebase.js import in app.js: -import firebase from ‘./firebase’; error: “/src/firebase.js Module not found: Can’t resolve ‘firebase’”

**Figured it out. Even though I have installed firebase tools, I still needed to install firebase. npm i firebase fixed it.

Thank you. I had the same problem. I had firebase tools but I realised I didn’t have firebase. The solution would be npm i firebase or yarn add firebase

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

i think firebase 9 is having a problem with react 17, anyways this worked for me, thank you so much

Don’t necro an old issue and without code or anything we can’t even begin to help you.

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

Thanks for this!!! Lots of Love(♥);

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

It worked for me. Thank youuuu!!!

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

This is absolute solution. Thank you very much !

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

This answer was what worked for me too, I’ve spent two hours checking everywhere on the internet to no avail until I found this answer. Thank you 🙏

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

THis finally worked!!! Thank you very much!

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

Thanks a lot. not sure how but it worked.

Guys, uninstall the firebase you have in package.json with this npm uninstall firebase and install this version instead npm i firebase@^8.10.0

this worked for me too. thanks!

Try this ‘npm i firebase@6.0.2’ or higher version of firebase . It should work.

in my case, I use yarn instead of npm . then fixed it