storyblok / storyblok-nuxt-beta

8 stars 1 forks source link

Requested module axios does not provide an export named 'default' #7

Open alvarosabu opened 2 years ago

alvarosabu commented 2 years ago

Hey there, the first issue 😜. Glad to see that the code was refactored to use the new module-builder, I'm afraid it doesn't quite work well yet.

Uncaught SyntaxError: The requested module '/_nuxt/node_modules/axios/index.js?v=f5e03539' does not provide an export named 'default'

Reproduction link https://stackblitz.com/edit/github-mtfdou?file=nuxt.config.ts


alexjoverm commented 2 years ago

Hey hey @alvarosabu 👋 . You're fast!

Actually, we marked this package as WIP yet since we're having some issues in latest versions of Nuxt 3. @Baroshem is lending a hand in there and investigating how to fix it. We're working on the https://github.com/storyblok/storyblok-nuxt-beta/tree/experiment/refactor-module branch

alvarosabu commented 2 years ago

@alexjoverm awesome, if I want to contribute with the typescript part should I do it on this repo?

ashutosh-ks commented 2 years ago

Hey Guys, is this resolved ? I am experiencing same issue

I am trying to add my vue3 pluing which has axios & vue-composable/axios dependency into my Nuxt3 app

I don't see any error if i add that plugin inside a vue3 cli project