Skip to content

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

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

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/@[email protected]/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

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

1 participant