Environment
MacOS Tahoe
Bun
Nuxt version 4.3.1
Modules installed:
NuxtUI
NuxtContent
Tailwind
Prettier
Nuxt Security Version
4.3.1
Default setup used?
Yes, the bug happens even if the security option is not customized
Security options
Reproduction
When installing using:
Command run: bunx nuxi@latest module add security
Message from terminal:
The module nuxt-security is not compatible with Nuxt (requires >=3.0.0)
│
■ Do you want to continue installing incompatible version?
│ No
Description
When trying to install nuxt security two errors are reported
- first that the module is incompatible with nuxt
- second
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /Users/pkorac/Documents/explorations/aieditor/code/marketing/aiwriter-marketing/node_modules/nuxt-security/package.json when running the post-install
Additional context
No response
Logs
Environment
Nuxt Security Version
4.3.1
Default setup used?
Yes, the bug happens even if the security option is not customized
Security options
Reproduction
When installing using:
Command run:
bunx nuxi@latest module add securityMessage from terminal:
Description
When trying to install nuxt security two errors are reported
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /Users/pkorac/Documents/explorations/aieditor/code/marketing/aiwriter-marketing/node_modules/nuxt-security/package.jsonwhen running the post-installAdditional context
No response
Logs