nuxt / vercel-builder

Vercel Builder for Nuxt
MIT License
644 stars 76 forks source link

Build error during deployment #812

Closed vtonu closed 1 year ago

vtonu commented 1 year ago

npm run dev & build work fine in VSCode terminal without any issues.

I've also deployed a similar page using react and deployment went smoothly. This is my first time trying to deploy a Vue/Nuxt app and I can't solve the issue. Clearing the cache didn't help nor deleting the package-lock.json help. (https://github.com/vuejs/vue-cli/issues/2404) image

You can find the repo on my GitHub(the nuxt-ui app) and try to deploy it yourself to see the error. (https://github.com/vtonu/Nuxt_UI)

image npm run dev & npm run build work perfectly fine in VSCode.

danielroe commented 1 year ago

You should not use this builder for a Nuxt 3 app.

Instead you can directly deploy the app - it should work with zero-config.

vtonu commented 1 year ago

I don't understand. I'm not using anything, I'm just trying to deploy it to vercel and it gives me that error. How else can I deploy it. I deployed a similar react app and it deployed without any issues. This won't deploy when I press deploy.

EDIT Solved https://github.com/nuxt/nuxt/issues/22769