Questions tagged [vercel]

Vercel is the platform for frontend developers. Vercel has zero-configuration support for 35+ frontend frameworks and integrates with your headless content, commerce, or database of choice.

Vercel is the platform for frontend developers, providing the speed and reliability innovators need to create at the moment of inspiration.

They enable teams to iterate quickly and develop, preview, and ship delightful user experiences. Vercel has zero-configuration support for 35+ frontend frameworks and integrates with your headless content, commerce, or database of choice.

2631 questions
8
votes
7 answers

Error: error:0308010C:digital envelope routines::unsupported

I have been trying to deploy my nuxt app to Vercel for a few days now but I'm getting this error saying: Error: error:0308010C:digital envelope routines::unsupported I solved the issue on my local machine downgrading my node.js to 16+ but this still…
Nicolas
  • 434
  • 1
  • 3
  • 13
8
votes
1 answer

TypeError: Cannot set property Request of # which has only a getter
When trying to deploy my Typescript Next.js application to Vercel, the build fails despite working fine, and building fine locally. No clue where the error is, or how to fix. My application has an input field on the frontend, which sends the input…
Pajke
  • 347
  • 1
  • 3
  • 12
8
votes
1 answer

Updating NextJS/playwrights nodejs version?

My build on Vercel has started failing due to Playwright's depreciated Node.js version: Error: Node.js version 12.x is deprecated. Deployments created on or after 2022-08-09 will fail to build. Please set Node.js Version to 16.x in your Project…
meds
  • 21,699
  • 37
  • 163
  • 314
8
votes
0 answers

How to configure Next.JS API timeout

My api returns me a result after 10 minute later because of some limitations of another api. In localhost, i can wait 10 minutes and receive my data successfully but in vercel, my api returns me 504 which means timeout error. How can i disable…
questiontoansw
  • 307
  • 5
  • 17
8
votes
1 answer

Vercel/Next.js (seeminlgy) randomly returns 404s with {"notFound": True}

Intro Apologies for not being able to provide a reproducible example. Our team is not able to reproduce the bug reliably. We have been investigating the bug for almost a week now, but can't seem to make any headway. We just rolled out our next.js…
Fabian Bosler
  • 2,310
  • 2
  • 29
  • 49
8
votes
1 answer

Vercel maximum number of projects?

Does vercel have a maximum number of projects in the hobby plan? I know that you can import a maximum of three GitHub repositories. Does that mean that you can create a maximum of three projects. or is it possible to host more than three projects in…
BogoBogo
  • 171
  • 2
  • 6
8
votes
3 answers

Unable to deploy a Next.js monorepo using workspaces to Vercel

I've been having Vercel deployment issues when trying to convert my existing Nextjs app to be a monorepo using either npm or yarn workspaces. After changing to a monorepo, my builds are failing due to a package Not found issue. You can see the…
Saad
  • 49,729
  • 21
  • 73
  • 112
8
votes
1 answer

Revalidate doesn't work on Vercel using NextJS

I used the provided example from Vercel documentation, to fetch the data from MongoDB after every 15 seconds, but unfortunately the function doesn't work. What should I do to make it work as expected? export async function getStaticProps() { const…
user3630024
  • 111
  • 1
  • 8
8
votes
1 answer

Vercel app with graphql-codegen endpoint error Unable to find any GraphQL type definitions for the following pointers

I load my GraphQL schema like: const schema = loadSchemaSync('./src/graphql/server/schema/*.gql', { loaders: [new GraphQLFileLoader()], }) This works fine locally, however, when deploying to vercel I get the error: Unable to find any GraphQL type…
neeko
  • 1,930
  • 8
  • 44
  • 67
8
votes
3 answers

Deploying Private Repository using Vercel

I'm still new to deploying apps/web apps. Just wanted to confirm if will I be able build and deploy a Github private repo using Vercel? I'm going to try if ever there would be a way as I'm still hesitant to use it in an existing deployed repo and…
Shironekomaru
  • 361
  • 1
  • 6
  • 15
8
votes
2 answers

Vercel Next.js build error while prerendering pages

I'm running Vercel compilation on my website and I can't get rid of the pre-rendering error on export. does anyone know the reason for this to happen and can help me with this? my github with all code: https://github.com/M0rilla/MyProfile for each…
Gustavo Morilla
  • 192
  • 1
  • 1
  • 9
8
votes
0 answers

Vercel 504 Bad Gateway Error Page though code works in dev mode

So I have built a Next app based on this NextJS example which means I have GraphQL routes and an Apollo server I use to fetch from the API in the app. The example shows how to fetch in getStaticProps() which works fine for me but I need to implement…
8
votes
1 answer

How to debug or handle Vercel FUNCTION_INVOCATION_FAILED error?

I got this error from Vercel. It pop up at random times and pages when I am navigating. There are no error raised in browser console. Vercel logs only build time error, so no info there also. Maybe Vercel or Next.js is short in memory? These…
János
  • 32,867
  • 38
  • 193
  • 353
8
votes
3 answers

Deploying React app to production returns "You need to enable JavaScript to run this app"

Problem I have an axios call at "/artists", that gets a list of artists returned as an array of JSON. It works in development. However, in production it outputs an HTML element that says You need to enable Javascript because the data returned from…
Matthew Francis
  • 670
  • 3
  • 10
  • 26
8
votes
1 answer

How to deploy front and back end on Vercel from the same monorepo?

Question about deploying back end to Vercel from a monorepo from where front end has already been deployed. I'm working on a full stack project (my first one) in a monorepo. The repo contains client and server directories, like so: project ¦ …
jka
  • 337
  • 5
  • 15