Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

2.8K
Views
Firebase web 9.0.1 error Package path . is not exported

I've installed firebase@9.0.1, using yarn. The package seems working fine but it gives an error just after running yarn install as given.

Module not found: Error: Package path . is not exported from package /Users/trinity/Projects/hello/node_modules/firebase (see exports field in /Users/trinity/Projects/hello/node_modules/firebase/package.json)

Just for reference, attaching the installed set of libraries here.

➜  hello git:(main) ✗ yarn list --depth=0 | grep firebase
├─ @firebase/analytics-compat@0.1.1
├─ @firebase/analytics-types@0.7.0
├─ @firebase/analytics@0.7.0
├─ @firebase/app-check-compat@0.1.1
├─ @firebase/app-check-interop-types@0.1.0
├─ @firebase/app-check@0.4.0
├─ @firebase/app-compat@0.1.1
├─ @firebase/app-types@0.7.0
├─ @firebase/app@0.7.0
├─ @firebase/auth-compat@0.1.1
├─ @firebase/auth-interop-types@0.1.6
├─ @firebase/auth-types@0.11.0
├─ @firebase/auth@0.17.1
├─ @firebase/component@0.5.6
├─ @firebase/database-compat@0.1.0
├─ @firebase/database-types@0.9.0
├─ @firebase/database@0.12.0
├─ @firebase/firestore-compat@0.1.1
├─ @firebase/firestore-types@2.5.0
├─ @firebase/firestore@3.0.1
├─ @firebase/functions-compat@0.1.1
├─ @firebase/functions-types@0.5.0
├─ @firebase/functions@0.7.0
├─ @firebase/installations@0.5.0
├─ @firebase/logger@0.2.6
├─ @firebase/messaging-compat@0.1.0
├─ @firebase/messaging-interop-types@0.1.0
├─ @firebase/messaging@0.9.0
├─ @firebase/performance-compat@0.1.0
├─ @firebase/performance-types@0.1.0
├─ @firebase/performance@0.5.0
├─ @firebase/polyfill@0.3.36
├─ @firebase/remote-config-compat@0.1.0
├─ @firebase/remote-config-types@0.2.0
├─ @firebase/remote-config@0.2.0
├─ @firebase/storage-compat@0.1.1
├─ @firebase/storage-types@0.6.0
├─ @firebase/storage@0.8.1
├─ @firebase/util@1.3.0
├─ @firebase/webchannel-wrapper@0.5.1
├─ firebase@9.0.1
➜  hello git:(main) ✗

The development environment is an electron, I'm using ERB template for the project. Yarn installs the dependency fine, the problem appears in the post-install script. Please leave any clue for resolution. Thanks

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Try this:

import * as firebase from "firebase/app"

Found here: https://stackoverflow.com/a/68984595/903000

over 4 years ago · Santiago Trujillo Report

0

Package path ./firestorage is not exported from package C:\Users\user01\my-firebase-login\node_modules\firebase (see exports field in C:\Users\user01\my-firebase-login\node_modules\firebase\package.json)

about 4 years ago · nishanthan Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!