vuejs/vuefire

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

LeaderbotX400 opened this issue · 1 comments

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

Issue is resolved by adding to .npmrc

# .npmrc
shamefully-hoist=true