NuxtN
Nuxt4mo ago
14 replies
AerodynamicPotato

[NuxtHub + CF Workers] Nuxt 4 - 500 errors

After migrating my website to Nuxt 4, I could not deploy it neither on my server manually (pnpm build and copy the .output folder) nor on Cloudflare Workers.
After running the build successfully, the resulting output does not work.
I get the following error whenever I try to open the project:
No such module \"home/runner/work/portfolio/portfolio/node_modules/.pnpm/vue@3.5.21/node_modules/vue/index.mjs\".

Bear in mind, the dev server works fine locally. Also, I can build locally and preview just fine as well, which is why it's confusing me.
I don't have anything out of the ordinary in terms of external packages, just TailwindCSS, octokit, and vueuse.
My repo is here
Was this page helpful?