Skip to content

When installing with bunx incompatible version is detected #681

@pkorac

Description

@pkorac

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions