Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Nuxt Internal 500 Error on static build with Vercel #643

@daletom

Description

@daletom

Hello,

Was deploying a Nuxt.js target: static site using the vercel-builder. It works locally, but when deployed on Vercel, I was getting a 500 level Nuxt Internal Server Error. It was looking a lot like this issue: #509

The main difference is that this is not a Nuxt project using content module. It is using Apollo to access an API from Dato CMS. I still tried the recommended fix of deleting the vercel.json file and adding nuxt generate to the build command in Vercel. I no longer get the 500 error, but now the graphql endpoint is just erroring out since it is using nuxt generate. Like below:

image

Any recommendations on still being able to use the vercel-builder to not get the 500 level error? I added it back to show the 500 level error. The site is this: https://datocmstonuxt.vercel.app/. The repo is this: https://github.com/daletom/datocmstonuxt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions