NuxtN
Nuxt2y ago
3 replies
ローリー Laurie

"does not provide an export named 'Component' " error

I've been working on this bug for nearly a week and I can't make sense of what's going on:

When I run this monorepo project and fire up the dev server things seem to work ok, but then I get this error:

SyntaxError: The requested module '/_nuxt/@fs/Users/laurie/WorkNow/.../project/node_modules/.pnpm/@firebase+component@0.6.7/node_modules/@firebase/component/dist/index.cjs.js' does not provide an export named 'Component'


I've tried fiddling around with the versions of different packages etc but nothing seems to work. I'm using Nuxt together with firebase and Vuefire.

Any ideas what I could investigate to try to find the source of the error?
Was this page helpful?