chakra-ui-vue-next
chakra-ui-vue-next copied to clipboard
Error: Package subpath './module' is not defined by 'exports' in @chakra-ui/nuxt-next
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-nextin a Nuxt 3 project usingnpm install @chakra-ui/nuxt-next. - Add
@chakra-ui/nuxt-nextto 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.