Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package import specifier "#imports" is not defined in package #1450

Open
AsbDaryaee opened this issue Nov 18, 2023 · 5 comments
Open

Package import specifier "#imports" is not defined in package #1450

AsbDaryaee opened this issue Nov 18, 2023 · 5 comments
Labels

Comments

@AsbDaryaee
Copy link

AsbDaryaee commented Nov 18, 2023

Description

Package import specifier "#imports" is not defined in package

image

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:  pnpm@8.10.5
- Builder:          -
- User Config:      css, postcss, modules, runtimeConfig, device, vite, gtag, app
- Runtime Modules:  nuxt-schema-org@3.0.0, @nuxt/image@1.0.0-rc.1, nuxt-swiper@1.2.2, @pinia/nuxt@0.4.11, @vueuse/nuxt@10.4.1, @nuxtjs/device@3.1.1, nuxt-gtag@1.1.1, vue-recaptcha/nuxt
- Build Modules:    -
------------------------------
@AsbDaryaee AsbDaryaee added the bug label Nov 18, 2023
@mathieuCatapulpe
Copy link

Same here, did you find a workaround ?

@AsbDaryaee
Copy link
Author

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

@Lui22
Copy link

Lui22 commented Dec 15, 2023

Update to the latest alpha version. At the moment it is the 3.0.0-alpha.6

@technoY2K
Copy link

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?

@DanSnow
Copy link
Owner

DanSnow commented Apr 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants