Nuxt hub wrangler `Failed to initialize wrangler bindings proxy`
I have a nuxt hub project initialized with
pnpx nuxthub init my-app
and at some point of it I deleted .nuxt
, node_modules
.data
and I think there was a directory .wrangler
because I was getting type errors and I was trying to fixed them
After fixing the errors now when I run pnpm dev
console shows the logs in message below (couldn't fit in in this post) and I ignored it because the project seemed to be running fine until I got to adding some database stuff. After adding a migrations plugin
the project stopped working and I'm guessing it's related to this error. As you can see in the logs above the last log is [db] running migrations
and nothing else goes on after that. When I try to open the project at localhost:3000
it's just stuck on nuxt loading screen and console shows GET http://localhost:3000/ 503/service unavailable
Running pnpx nuxi dev --remote
works fine, the page works, migrations are executed and I can browse my database on admin.hub.nuxt.com
and locally in dev tools but the local dev build is broken
Here's a link to repository: https://github.com/asasinmode/chat-room-battles2 Replies
Here are the logs, nothing happens after
[db] running migrations
and I just kill the dev serverIf anybody ever runs into it I opened an issue in cloudflare's workers sdk repo, hopefully it'll be resolved https://github.com/cloudflare/workers-sdk/issues/6170
GitHub
🐛 BUG: Received structured exception #0xc0000005: access violation;...
Which Cloudflare product(s) does this pertain to? Miniflare What version(s) of the tool(s) are you using? 3.20240620.0 [Miniflare] What version of Node are you using? 22.3.0 What operating system a...