Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: @firebase/component/dist/index.cjs.js' does not provide an export named 'Component' #1552

Closed
LeaderbotX400 opened this issue Jul 4, 2024 · 1 comment

Comments

@LeaderbotX400
Copy link

Reproduction

https://github.com/LeaderbotX400/sturdy-octo-garbanzo

Steps to reproduce the bug

  1. Install packages with pnpm from the above repo
  2. navigate to http://localhost:3000

Expected behavior

Page starts up with no issues

Actual behavior

Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.pnpm/@firebase+component@0.6.8/node_modules/@firebase/component/dist/index.cjs.js' does not provide an export named 'Component' (at index.esm2017.js:2:10)

Additional information

Potentially an issue with firebase 10.12.3

@LeaderbotX400
Copy link
Author

Issue is resolved by adding to .npmrc

# .npmrc
shamefully-hoist=true

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant