[Bug]: `@firebase/component/dist/index.cjs.js' does not provide an export named 'Component'`
LeaderbotX400 opened this issue · 1 comments
LeaderbotX400 commented
Reproduction
https://github.com/LeaderbotX400/sturdy-octo-garbanzo
Steps to reproduce the bug
- Install packages with pnpm from the above repo
- 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 commented
Issue is resolved by adding to .npmrc
# .npmrc
shamefully-hoist=true