How To Fix Cannot Destructure Property 'nuxt' of 'this' as it is undefined.
When I try to run "npm run dev" nuxt got this error "Nuxt Fatal Error TypeError: Cannot destructure property 'nuxt' of 'this' as it is undefined".
Sofyan01 APR 2023 · 1 MENIT BACA
CSSNuxtTailwindcss

hai hai...
When I try to run "npm run dev" nuxt got this error "Nuxt Fatal Error TypeError: Cannot destructure property 'nuxt' of 'this' as it is undefined".
Solution
First Solution
Add it to package.json and build it again
"resolutions": {
"@nuxt/kit": "3.0.0-rc.13"
}Second Solution
If the first solution still shows the same error you can't follow this script
go to -> nuxt.config.js -> replace this
'@nuxtjs/tailwindcss'
with
'@nuxt/postcss8'.I hope this can help you to fix a error .
DITULIS 01 APR 2023 · DIPERBARUI 01 APR 2023Ada yang keliru? Kabari saya