-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
Description
Environment
| Operating system | macOS 25.3.0 |
| CPU | Apple M1 Pro (8 cores) |
| Node.js version | v22.14.0 |
| nuxt/cli version | 3.33.1 |
| Package manager | [email protected] |
| Nuxt version | 4.3.1 |
| Nitro version | 2.13.1 |
| Builder | [email protected] |
| Config | compatibilityDate, devtools, typescript, vite |
| Modules | - |
Happens in vercel for example too.
Reproduction
Start a build
Describe the bug
Out of the box tailwindcss doesn't seem to work anymore (It builds successfully without typeCheck: true) . Rolling back to Nuxt 4.3.0 fixed it.
Additional context
No response
Logs
● Nuxt 4.3.1 (with Nitro 2.13.1, Vite 7.3.1 and Vue 3.5.28)
│
● Nitro preset: node-server
ℹ Building client... 6:58:22 PM
ℹ vite v7.3.1 building client environment for production... 6:58:23 PM
ℹ ✓ 107 modules transformed. 6:58:27 PM
nuxt.config.ts:8:15 - error TS2322: Type 'Plugin<any>[]' is not assignable to type 'PluginOption'.
Type 'Plugin<any>[]' is not assignable to type 'PluginOption[]'.
Type 'Plugin<any>' is not assignable to type 'PluginOption'.
Type 'import("/home/projects/vbwijvmqlz.github/node_modules/.pnpm/[email protected][email protected]/node_modules/vite/dist/node/index").Plugin<any>' is not assignable to type 'Plugin<any>'.
Types of property 'hotUpdate' are incompatible.
Type 'ObjectHook<(this: MinimalPluginContext & { environment: DevEnvironment; }, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<...>> | undefined' is not assignable to type 'ObjectHook<(this: MinimalPluginContext & { environment: DevEnvironment; }, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<...>, {}> | undefined'.
Type '(this: MinimalPluginContext & { environment: DevEnvironment; }, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<...>' is not assignable to type 'ObjectHook<(this: MinimalPluginContext & { environment: DevEnvironment; }, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<...>, {}> | undefined'.
Type '(this: import("/home/projects/vbwijvmqlz.github/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/rollup").MinimalPluginContext & { ...; }, options: import("/home/projects/vbwijvmqlz.github/node_modules/.pnpm/[email protected][email protected]/node_modules/vite/dist/node/index").HotUpdateOptions) => void | ... 1 more ......' is not assignable to type '(this: MinimalPluginContext & { environment: DevEnvironment; }, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<...>'.
The 'this' types of each signature are incompatible.
Type 'MinimalPluginContext & { environment: DevEnvironment; }' is not assignable to type 'import("/home/projects/vbwijvmqlz.github/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/rollup").MinimalPluginContext & { environment: import("/home/projects/vbwijvmqlz.github/node_modules/.pnpm/[email protected][email protected]/node_modules/vite/dist/node/index").DevEnvironment; }'.
Type 'MinimalPluginContext & { environment: DevEnvironment; }' is not assignable to type 'MinimalPluginContext'.
Types of property 'meta' are incompatible.
Property 'viteVersion' is missing in type 'PluginContextMeta' but required in type 'import("/home/projects/vbwijvmqlz.github/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/rollup").PluginContextMeta'.
8 plugins: [tailwindcss()],
~~~~~~~~~~~~~
node_modules/.pnpm/@[email protected]/node_modules/@nuxt/schema/dist/_chunks/libs/@vitejs/plugin-vue-jsx.d.mts:4472:3
4472 viteVersion: string;
~~~~~~~~~~~
'viteVersion' is declared here.
Found 1 error.
ELIFECYCLE Command failed with exit code 2.Reactions are currently unavailable