Package import specifier "#imports" is not defined in package
Description
Package import specifier "#imports" is not defined in package
Minimal Reproducible Example
I added modules: ['vue-recaptcha/nuxt'] to my nuxt.config.ts and the whole app doesn't load at all.
System info
------------------------------
- Operating System: Windows_NT
- Node Version: v20.9.0
- Nuxt Version: 3.7.4
- CLI Version: 3.9.0
- Nitro Version: 2.6.3
- Package Manager: [email protected]
- Builder: -
- User Config: css, postcss, modules, runtimeConfig, device, vite, gtag, app
- Runtime Modules: [email protected], @nuxt/[email protected], [email protected], @pinia/[email protected], @vueuse/[email protected], @nuxtjs/[email protected], [email protected], vue-recaptcha/nuxt
- Build Modules: -
------------------------------
Same here, did you find a workaround ?
Same here, did you find a workaround ?
Unfortunately not, I ended up using Nuxt reCaptcha Module with some extra code to implement it on Nuxt 3
Update to the latest alpha version. At the moment it is the 3.0.0-alpha.6
Update to the latest alpha version. At the moment it is the
3.0.0-alpha.6
This worked for me. Although, I'm curious. Anyone know what the fix was?
If you see an error like this in a Nuxt project. It usually means adding the package name to build.transpile in nuxt.config.ts.