Cannot destructure property 'nuxt' of 'this' as it is undefined.
See original GitHub issueVersion
@nuxtjs/tailwindcss: 5.3.3 nuxt: 2.15.8 platform: Windows 11.
Reproduction Link
https://github.com/PawFV/platform-portal
Steps to reproduce
yarn install && yarn dev
What is Expected?
Project should start in development mode
What is actually happening?
FATAL Cannot destructure property 'nuxt' of 'this' as it is undefined. 11:14:20
at postcss8Module (node_modules\@nuxt\postcss8\dist\index.js:16:10)
at installModule (/C:/Users/paujo/platform-portal/node_modules/@nuxt/kit/dist/index.mjs:416:9)
at async setup (/C:/Users/paujo/platform-portal/node_modules/@nuxtjs/tailwindcss/dist/module.mjs:186:7)
at async ModuleContainer.normalizedModule (/C:/Users/paujo/platform-portal/node_modules/@nuxt/kit/dist/index.mjs:167:5)
at async ModuleContainer.addModule (node_modules\@nuxt\core\dist\core.js:239:20)
at async ModuleContainer.ready (node_modules\@nuxt\core\dist\core.js:51:7)
at async Nuxt._init (node_modules\@nuxt\core\dist\core.js:478:5)
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ โ Nuxt Fatal Error โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
error Command failed with exit code 1.
Issue Analytics
- State:
- Created 10 months ago
- Reactions:16
- Comments:14
Top Results From Across the Web
[error] Cannot destructure property 'nuxt' of 'this' as it ... - GitHub
Working fine on dev. When deploying to vercel it fails: [error] Cannot destructure property 'nuxt' of 'this' as it is undefined. Might beย ......
Read more >[Vue warn]: Error in data(): "TypeError: Cannot destructure ...
I am setting up tests on a Nuxt2 app using @nuxtjs/composition-api and @vue/test-utils . In addition, there is a vue-CLI UI library usingย ......
Read more >Cannot destructure Property of Undefined Error in JS
The "Cannot destructure property of undefined" error occurs when we try to destructure a property from a value that is equal to undefined...
Read more >JS error โCannot destructure propertyโ - WordPress.org
Hello, I know another issue : Uncaught TypeError: wp.serverSideRender is undefined in block.js. which to my knowledge only appears in the console andย ......
Read more >TypeError: Cannot destructure property 'type' of 'undefined' as ...
Unable to complete saved object migrations for the [.kibana] index. TypeError: Cannot destructure property 'type' of 'undefined' as it isย ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My solution for now:
Downgrade to version 4.2.1.
yarn add @nuxtjs/tailwindcss@4.2.1
temporarily solved by using
overrides
property.npm version >= 8.3