Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Error: Package subpath './module' is not defined by 'exports' in @chakra-ui/nuxt-next #330

Open
Nimi77 opened this issue Jul 8, 2024 · 0 comments

Comments

@Nimi77
Copy link

Nimi77 commented Jul 8, 2024

Describe the bug

When trying to use @chakra-ui/nuxt-next with Nuxt 3.12.3, I encounter the following error after adding @chakra-ui/nuxt-next to the modules in my nuxt.config.ts ERROR Error while requiring module [object Object]: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './module' is not defined by "exports"

To Reproduce

Steps to reproduce the behavior:

  1. Install @chakra-ui/nuxt-next in a Nuxt 3 project using npm install @chakra-ui/nuxt-next.
  2. Add @chakra-ui/nuxt-next to the modules section of nuxt.config.ts or nuxt.config.js.
  3. Run npm run dev.
  4. See the error in the console.

Expected behavior

The Nuxt project should start without any errors.

Screenshot

nuxt-next error

@Nimi77 Nimi77 closed this as completed Jul 8, 2024
@Nimi77 Nimi77 reopened this Jul 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant