Environment
From package.json:
"@nuxt/devtools": "latest",
"@nuxt/fonts": "latest",
"@nuxt/scripts": "latest",
"@nuxtjs/seo": "latest",
"@tailwindcss/postcss": "^4.3.0",
"@tailwindcss/vite": "^4.3.0",
"nuxt": "^4.4.5",
"typescript": "latest",
"vue": "latest",
"vue-router": "latest",
"vue-tsc": "latest",
"postcss": "^8.5.14",
"tailwindcss": "^4.3.0"
As I am not using node, but instead bun, I am running it with version 1.3.14
I am also running this on MacOS 26.4.1 (25E252) with nushell as the terminal handler
Reproduction
Repository: https://gitlab.com/benshawmean/legal
Runtime: Bun@1.3.14
Command: bun dev
Describe the bug
The bug seems to be related to an incorrect export of defineHandler in the repo. I am not 100% sure who to contact about this issue as I can't figure out for the life of me what dependency is causing it (curse you Node with your dependency hell). It seems to happen on some repos, but not others.
For example, my main website (https://benshawmean.com) which has its code at https://gitlab.com/benshawmean/person-website works just fine (as long as you provide the needed environment variables), but when running it with this codebase, it fails. I can certainly repost this in the nuxt repo as maybe its something going on with them, but seeing as its failing an export from this repo, I thought I would start here
Additional context
No response
Logs
First time running dev:
[h3] "toNodeHandler" export from h3 is deprecated. Please import "toNodeHandler" from "h3/node".
Every other time:
ERROR Export named 'defineHandler' not found in module '/Users/{USER}/Documents/GitHub/Vue/legal/node_modules/h3/dist/index.cjs'. 3:26:28 PM
at <parse> (:0)
at link (native:1:11)
at link (native:1:11)
at link (native:1:11)
at link (native:1:11)
at linkAndEvaluateModule (native:1:11)
at requestImportModule (native:2)
at processTicksAndRejections (native:7:39)
Environment
From
package.json:As I am not using node, but instead bun, I am running it with version
1.3.14I am also running this on MacOS 26.4.1 (25E252) with
nushellas the terminal handlerReproduction
Repository: https://gitlab.com/benshawmean/legal
Runtime: Bun@1.3.14
Command:
bun devDescribe the bug
The bug seems to be related to an incorrect export of
defineHandlerin the repo. I am not 100% sure who to contact about this issue as I can't figure out for the life of me what dependency is causing it (curse you Node with your dependency hell). It seems to happen on some repos, but not others.For example, my main website (https://benshawmean.com) which has its code at https://gitlab.com/benshawmean/person-website works just fine (as long as you provide the needed environment variables), but when running it with this codebase, it fails. I can certainly repost this in the
nuxtrepo as maybe its something going on with them, but seeing as its failing an export from this repo, I thought I would start hereAdditional context
No response
Logs