From cb69b95cffce2881db33477ba87ae30877c19420 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Mon, 12 Oct 2026 16:47:47 +0200 Subject: [PATCH 1/2] Bump Nuxt in the Nuxt integration test to 3.21.11 The `vite/nuxt.test.ts > dev mode` test fails on `main` since Vite 6.4.4 (2026-10-06). The SSR render of `/` crashes, so the page has no styles: [GET] "http://[::1]:3000/__nuxt_vite_node__/module//node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs": 403 Forbidden Nuxt 3.16.0 serves vite-node modules over HTTP. For each module id, it calls Vite's `isFileServingAllowed(config, id)`. The ids are root-relative URLs, like `/node_modules/.pnpm/...`. Before Vite 6.4.4, the import analysis plugin added these URLs to `safeModulePaths`, so the check passed. Vite 6.4.4 (vitejs/vite#23656) adds the resolved file paths instead, so the check now rejects the root-relative ids with a 403. All Nuxt versions before 3.18.0 do this check. Nuxt 3.18.0 and later serve vite-node modules over an IPC socket without it, so they work with the fixed Vite (Vite 7.3.7 has the same change). This moves the test to the latest Nuxt 3 release, which uses Vite 7.3.7. --- integrations/vite/nuxt.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/vite/nuxt.test.ts b/integrations/vite/nuxt.test.ts index 20f367020455..dac1e6cc8aef 100644 --- a/integrations/vite/nuxt.test.ts +++ b/integrations/vite/nuxt.test.ts @@ -18,7 +18,7 @@ const SETUP = { "type": "module", "dependencies": { "@tailwindcss/vite": "workspace:^", - "nuxt": "3.16.0", + "nuxt": "3.21.11", "nitropack": "2.11.0", "tailwindcss": "workspace:^", "vue": "latest" From 1ca3a7c9354eb7c776c5611ee8a6ac8dbf62d23b Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Mon, 12 Oct 2026 16:49:18 +0200 Subject: [PATCH 2/2] Remove the unused `nitropack` pin from the Nuxt integration test The `nitropack: 2.11.0` dependency pinned the Nitro version of the old Nuxt release. Nuxt 3.21 gets Nitro through `@nuxt/nitro-server`, which needs `nitropack@^2.13.4`. So pnpm installs a second Nitro for Nuxt, and nothing uses the pinned 2.11.0 copy. --- integrations/vite/nuxt.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/integrations/vite/nuxt.test.ts b/integrations/vite/nuxt.test.ts index dac1e6cc8aef..d1de674861c9 100644 --- a/integrations/vite/nuxt.test.ts +++ b/integrations/vite/nuxt.test.ts @@ -19,7 +19,6 @@ const SETUP = { "dependencies": { "@tailwindcss/vite": "workspace:^", "nuxt": "3.21.11", - "nitropack": "2.11.0", "tailwindcss": "workspace:^", "vue": "latest" }