Open larseberhardt opened 5 months ago
I investigated that this only happen when u install the package with pnpm
I have the same issue. Using pnpm too. Any solution?
I haven't looked at the "why", but adding qs@5
to the nuxt project seems to work (pnpm add qs@^5.2.1
).
Same issue, using pnpm too
PNPM structures it's dependencies differently and doesn't allow dependencies to access each other (shamefully-hosting). This is an issue with how the 'qs' dependency is accessed.
Simple fixes are adding the qs dependency yourself or enabling shamefully-hosting, but end goal should be that this is fixed in the package itself. My understanding is too limited to propose a fix but have a look at these issues for more information.
https://github.com/nuxt/nuxt/issues/14146 https://github.com/nuxt-modules/i18n/issues/2506
Version
"@nuxtjs/strapi": "^1.12.0", "nuxt": "^3.11.2", "vue": "^3.4.27", "vue-router": "^4.3.2"
Steps to reproduce
I have a clean Nuxt installation. Add the package how it's recommended and after the dev server breaks with the following error: