-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
I've set up a new project today,
Dependencies
{
"dependencies": {
"@nuxt/fonts": "0.11.4",
"@nuxt/icon": "2.0.0",
"@nuxt/image": "1.11.0",
"@nuxt/ui": "^4.0.1",
"@nuxthub/core": "0.9.0",
"drizzle-orm": "^0.44.6",
"nuxt": "4.1.3",
"nuxt-auth-utils": "^0.5.25",
"vue": "^3.5.22",
"vue-router": "^4.5.1"
},
"devDependencies": {
"drizzle-kit": "^0.31.5",
"wrangler": "^4.42.1"
}
}
The only hub features enabled is database
& blob
Experimental nuxt features typedPages
The errors that were thrown
ERROR Fetch handler error: globalThis.process.getBuiltinModule is not a function 22.48.35
at get _request [as _request] (/C:/.../MyNuxtProject/node_modules/srvx/dist/adapters/node.mjs:153:61)
at desc.get [as body] (/C:/.../MyNuxtProject/node_modules/srvx/dist/_chunks/_inherit-DLZfB57K.mjs:10:16)
at fetchAddress (/C:/.../MyNuxtProject/node_modules/@nuxt/cli/dist/chunks/dev.mjs:125:19)
at Server.<anonymous> (/C:/.../MyNuxtProject/node_modules/@nuxt/cli/dist/chunks/dev.mjs:189:33)
at Server.emit (node:events:531:35)
at parserOnIncoming (node:_http_server:1137:12)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
ERROR Fetch handler error: Premature close 22.49.20
at onclose (node:internal/streams/end-of-stream:159:30)
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
ERROR [unhandledRejection] Cannot set headers after they are sent to the client 22.49.20
at ServerResponse.setHeader (node:_http_outgoing:703:11)
at renderError (/C:/.../MyNuxtProject/node_modules/@nuxt/cli/dist/chunks/index.mjs:67:7)
at res.statusCode (/C:/.../MyNuxtProject/node_modules/@nuxt/cli/dist/chunks/dev.mjs:449:7)
at Server.<anonymous> (/C:/.../MyNuxtProject/node_modules/@nuxt/cli/dist/chunks/dev.mjs:193:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
I have narrowed it down to somewhere in 3.29.x while also thinking globalThis.process.getBuiltinModule was the main issue.
fa5d5e6
h3js/srvx#117
Overriding nuxt/cli to 3.28.0 re-removes the srvx package and the errors above are not thrown.
Metadata
Metadata
Assignees
Labels
No labels