\n[log] [nuxi] Nuxt 3.17.7 with Nitro 2.12.0\n\n\n\n### Additional context\n\n\u003Cimg width=\"1124\" height=\"376\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/fc91b10c-1ed0-456f-86a9-06b7a35c34cb\" />\n\n16:07:35.542 | [error] Cannot read properties of undefined (reading 'deployConfig')\n-- | --\n16:07:35.543 | at build:before (/opt/buildhome/repo/node_modules/nitropack/dist/presets/cloudflare/preset.mjs:79:39)\n16:07:35.543 | at /opt/buildhome/repo/node_modules/hookable/dist/index.mjs:48:66\n16:07:35.543 | at /opt/buildhome/repo/node_modules/hookable/dist/index.mjs:48:56\n16:07:35.543 | at async build (/opt/buildhome/repo/node_modules/nitropack/dist/core/index.mjs:1707:3)\n16:07:35.544 | at async /opt/buildhome/repo/node_modules/nuxt/dist/shared/nuxt.CJ7ZnOUY.mjs:4673:5\n16:07:35.545 | at async build (/opt/buildhome/repo/node_modules/nuxt/dist/shared/nuxt.CJ7ZnOUY.mjs:7278:3)\n16:07:35.545 | at async Object.run (/opt/buildhome/repo/node_modules/@nuxt/cli/dist/chunks/build.mjs:76:5)\n16:07:35.545 | at async Object.run (/opt/buildhome/repo/node_modules/@nuxt/cli/dist/chunks/generate.mjs:38:5)\n16:07:35.545 | at async runCommand (/opt/buildhome/repo/node_modules/citty/dist/index.mjs:316:16)\n16:07:35.546 | at async runCommand (/opt/buildhome/repo/node_modules/citty/dist/index.mjs:307:11)\n16:07:35.546 | \n16:07:35.546 | [error] Cannot read properties of undefined (reading 'deployConfig')\n\n\n### Logs\n\n```shell-script\n\n```",[3219],{"name":3154,"color":3155},32645,"Cloudflare Pages Static v2.12.0 Nitro Deployment Fail","2025-07-16T17:37:18Z","https://github.com/nuxt/nuxt/issues/32645",0.652868,{"description":3192,"labels":3226,"number":3227,"owner":3160,"repository":3160,"state":3161,"title":3197,"updated_at":3228,"url":3229,"score":3230},[],12417,"2023-01-21T19:10:53Z","https://github.com/nuxt/nuxt/issues/12417",0.6547016,{"description":3192,"labels":3232,"number":3233,"owner":3160,"repository":3160,"state":3161,"title":3197,"updated_at":3234,"url":3235,"score":3230},[],12499,"2023-01-21T16:36:38Z","https://github.com/nuxt/nuxt/issues/12499",{"description":3237,"labels":3238,"number":3243,"owner":3160,"repository":3160,"state":3161,"title":3244,"updated_at":3245,"url":3246,"score":3247},"### Environment\n\n```\n- Operating System: Darwin\n- Node Version: v22.6.0\n- Nuxt Version: 3.14.0\n- CLI Version: 3.15.0\n- Nitro Version: 2.10.2\n- Package Manager: bun@1.1.27\n- Builder: -\n- User Config: default\n- Runtime Modules: `@nuxt/fonts@0.10.2`, `nitro-cloudflare-dev@0.2.1`\n- Build Modules: -\n```\n\n### Reproduction\n\n1. Set preset to `cloudflare-modules`\n```ts\nnitro: {\n preset: \"cloudflare-module\",\n},\n```\n\n2. Run the dev command: `bun run dev`\n\nhttps://github.com/user-attachments/assets/037b876d-d14f-4554-98b4-46d9997d6dce\n\n\n### Describe the bug\n\nAfter upgrading to the latest release (Nuxt v3.14.0), running the dev command, \n`bun run dev` fails with\n\n```\nRollupError: [plugin impound] This module cannot be imported in server runtime.\n[importing node_modules/nitropack/node_modules/unenv/runtime/fetch/index.mjs from node_modules/nitropack/dist/runtime/internal/app.mjs]\n```\n\n### Additional context\n\npackage.json\n```json\n{\n\"dependencies\": {\n \"drizzle-orm\": \"^0.36.0\",\n \"nuxt\": \"^3.14.0\",\n \"nuxt-auth-utils\": \"^0.5.1\",\n \"vue\": \"latest\",\n \"zod\": \"^3.23.8\"\n },\n \"devDependencies\": {\n \"@cloudflare/workers-types\": \"^4.20241022.0\",\n \"@nuxt/fonts\": \"^0.10.2\",\n \"drizzle-kit\": \"^0.27.1\",\n \"nitro-cloudflare-dev\": \"^0.2.1\",\n \"typescript\": \"^5.6.3\",\n \"wrangler\": \"^3.84.1\"\n }\n}\n```\n\n### Logs\n\n_No response_",[3239,3240],{"name":3154,"color":3155},{"name":3241,"color":3242},"possible regression","B90A42",29784,"Cloudflare module preset fails after upgrading to Nuxt 3.14.0","2024-11-12T05:52:48Z","https://github.com/nuxt/nuxt/issues/29784",0.65527,{"description":3249,"labels":3250,"number":3254,"owner":3160,"repository":3160,"state":3161,"title":3255,"updated_at":3256,"url":3257,"score":3258},"### Environment\r\n\r\n- Operating System: `Darwin`\r\n- Node Version: `v20.2.0`\r\n- Nuxt Version: `3.5.3`\r\n- Nitro Version: `2.4.1`\r\n- Package Manager: `pnpm@8.6.2`\r\n- Builder: `vite`\r\n- User Config: `devtools`, `nitro`, `alias`, `modules`, `runtimeConfig`\r\n- Runtime Modules: `@nuxtjs/tailwindcss@6.7.2`\r\n- Build Modules: `-`\r\n\r\n\r\n### Reproduction\r\n\r\nEncountered it by trying the cloudflare_pages preset with the nuxt-openai vercel-labs/ai example : \r\n\r\nhttps://github.com/vercel-labs/ai/tree/main/examples/nuxt-openai\r\n\r\n\r\nFull Error :\r\n\r\n```\r\nℹ Building Nitro Server (preset: cloudflare-pages) nitro 1:01:56 AM\r\n\r\n[nitro 1:01:58 AM] ERROR RollupError: \"types\" is not exported by \"../../node_modules/.pnpm/unenv@1.5.1/node_modules/unenv/runtime/node/util/index.mjs\", imported by \".nuxt/dist/server/server.mjs\".\r\n\r\n\r\n24: import Stream, { pipeline as pipeline$1, PassThrough } from \"node:stream\";\r\n25: import { Buffer as Buffer$1 } from \"node:buffer\";\r\n26: import { promisify, deprecate, types } from \"node:util\";\r\n ^\r\n27: import { format } from \"node:url\";\r\n28: import { isIP } from \"node:net\";\r\n\r\n\r\n[1:01:58 AM] ERROR \"types\" is not exported by \"../../node_modules/.pnpm/unenv@1.5.1/node_modules/unenv/runtime/node/util/index.mjs\", imported by \".nuxt/dist/server/server.mjs\".\r\n```\r\n\r\n### Describe the bug\r\n\r\nWhen building some projects with the cloudflare presets, there's some build errors that can be worked around by explicitly installing `unenv` and aliasing some node deps to the cjs version of unenv.\r\n\r\n```ts\r\nimport path from 'node:path'\r\n\r\n// https://nuxt.com/docs/api/configuration/nuxt-config\r\nexport default defineNuxtConfig({\r\n devtools: { enabled: true },\r\n nitro: {\r\n preset: 'cloudflare-pages'\r\n },\r\n alias: {\r\n 'node:util': path.resolve(\r\n __dirname,\r\n 'node_modules/unenv/runtime/node/util/index.cjs'\r\n ),\r\n 'node:net': path.resolve(\r\n __dirname,\r\n 'node_modules/unenv/runtime/node/net/index.cjs'\r\n )\r\n },\r\n modules: ['@nuxtjs/tailwindcss'],\r\n runtimeConfig: {\r\n openaiApiKey: ''\r\n }\r\n})\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nThis might be a pnpm issue due to the fact that this setup doesn't use `shamefully-hoist`. In this case this should be fixed with full pnpm support.\r\n\r\n### Logs\r\n\r\n_No response_",[3251,3252,3253],{"name":3151,"color":3152},{"name":3154,"color":3155},{"name":3206,"color":3207},21619,"[Nitro/Unenv] cloudflare build has issues with unenv","2023-08-17T08:00:37Z","https://github.com/nuxt/nuxt/issues/21619",0.657758,["Reactive",3260],{},["Set"],["ShallowReactive",3263],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fMKzkupUfn0GAKLn925HHqE-7LL36NUFwzbYyrDOjqSY":-1},"/nuxt/nuxt/23963"]