This repository was archived by the owner on Sep 20, 2024. It is now read-only.
This repository was 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
Description
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:
- Install
@chakra-ui/nuxt-next
in a Nuxt 3 project usingnpm install @chakra-ui/nuxt-next
. - Add
@chakra-ui/nuxt-next
to the modules section of nuxt.config.ts or nuxt.config.js. - Run
npm run dev
. - See the error in the console.
Expected behavior
The Nuxt project should start without any errors.
Screenshot
Metadata
Metadata
Assignees
Labels
No labels