You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
defu is incorrectly imported in above mentioned line and throws error in a fresh installation.
vi@vi:~/source/example-app$ npm run dev
> [email protected] dev
> nuxt
FATAL defu is not a function 18:36:00
at module.exports (node_modules/@chakra-ui/nuxt/lib/module.js:20:32)
at ModuleContainer.addModule (node_modules/@nuxt/core/dist/core.js:239:34)
at node_modules/@nuxt/utils/dist/utils.js:639:43
at async ModuleContainer.ready (node_modules/@nuxt/core/dist/core.js:55:5)
at async Nuxt._init (node_modules/@nuxt/core/dist/core.js:478:5)
╭───────────────────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ TypeError: defu is not a function │
│ │
╰───────────────────────────────────────╯
It needs to be destructured:
const{ defu }=require('defu')// works fine
The text was updated successfully, but these errors were encountered:
chakra-ui-vue/packages/chakra-ui-nuxt/lib/module.js
Line 2 in f4e9f00
defu is incorrectly imported in above mentioned line and throws error in a fresh installation.
It needs to be destructured:
The text was updated successfully, but these errors were encountered: