#Refreshing page gives 404 on non-root folder pages when deploying to Vercel (Nuxt v3.3.3)

3 messages · Page 1 of 1 (latest)

fast zenith
#

The error that I get in my logs is:
file:///var/task/chunks/app/_nuxt/index-32098b32.mjs:1
import require$$0 from 'vue';
^^^^^^^^^^
SyntaxError: The requested module 'vue' does not provide an export named 'default'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
at async file:///var/task/chunks/app/server.mjs:28497:74
at async Object.callAsync (file:///var/task/node_modules/unctx/dist/index.mjs:53:16)
at async applyPlugin (file:///var/task/chunks/app/server.mjs:17613:33)
at async applyPlugins (file:///var/task/chunks/app/server.mjs:17622:5)
at async createNuxtAppServer (file:///var/task/chunks/app/server.mjs:28997:7)
at async Object.renderToString (file:///var/task/node_modules/vue-bundle-renderer/dist/runtime.mjs:172:19)

cold field
#

Same