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
5
votes
3 answers

Flutter Web App not starting: The script has an unsupported MIME type

My flutter web app won't start, I see the following errors in the browser console: This behavior only occurs when deployed on vercel. I don't get this error when deploying on firebase hosting. Furthermore, this error only occurs for nested routes.…
Jonas
  • 7,089
  • 15
  • 49
  • 110
5
votes
4 answers

Laravel how to deploy in vercel

I'm trying to deploy Laravel 8 project in Vercel, however, I am constantly facing this error: Error: No Output Directory named "dist" found after the Build completed. You can configure the Output Directory in your Project Settings. I have followed…
Ahmed Sheikh
  • 129
  • 2
  • 9
5
votes
1 answer

Node express + typescript deployment on vercel not building

I have upload my project with node using express + typescript. This app generates a folder dist for building but when vercel deploy my app it doesn't run the command build so what I had to do for deploy my app is build locally and upload this dist…
5
votes
3 answers

Problems mounting a Vercel/Nextjs project as a subdirectory of a different Vercel/Nextjs project

I have a monorepo with two projects - web and docs. Each of these is their own Vercel project with the web project mounted at https://example.com and docs mounted at https://docs.example.com. All of this works as expected. I now want to have the…
Bill
  • 25,119
  • 8
  • 94
  • 125
5
votes
1 answer

Nextjs deployment on Vercel - api requests return 500, works on localhost

I deployed my Nextjs app to Vercel and my api calls are failing with response 500, even though it works on localhost. I can get initial load with getStaticProps, so I believe connection to DB is OK. My getStaticPaths function which works correctly…
Adam Ilčišák
  • 627
  • 6
  • 14
5
votes
1 answer

How to integrate Vercel with Azure Repos?

I am considering using Vercel for my front-end architecture but at the moment my codebase is hosted in Azure Repos. Is there a way to integrate Azure Repos with Vercel?
Jonathan Dsouza
  • 568
  • 1
  • 5
  • 17
5
votes
4 answers

How to fix the 'no severless pages built' in nextjs deployment using vercel?

I' am trying to deploy my NextJs app. I have been getting the same 2 errors the past few days: 1: // and will just error later on 2: Error: No serverless pages were built. Learn More: https://err.sh/vercel/vercel/now-next-no-serverless-pages-built I…
5
votes
1 answer

Vercel "This Serverless Function has crashed" with simple GraphQL request from SvelteKit app

I am getting frequent, seemingly random errors on initial page load. I think the problem has to do with Vercel Serverless Functions. I regularly get this error on the website itself: Full log from Vercel: [GET]…
Koen
  • 324
  • 2
  • 10
5
votes
0 answers

Middleware not working after deploying in vercel

Hi i am using the headless cms 'next-wordpress-starter ' for my blog and added a middleware to handle the traffic coming from "x" site to be redirected back to that site. on local environment it works perfect but when i deployed in vercel it shows…
5
votes
1 answer

Can't generate Nuxt website with @googlemaps/js-api-loader

I am using @googlemaps/js-api-loader in my Nuxt 3 website. Everything works fine in local development, but when I try to build the project with nuxt generate (no matter if locally or on Vercel) I'm getting following error: [nuxt] [request error]…
Matthew
  • 369
  • 1
  • 12
5
votes
3 answers

Google Fonts not loading in Next.js when deployed to Vercel

When running the app in http://localhost:3000 everything works and looks great. But upon deploying my Next.js app to Vercel, the fonts aren't showing and nothing comes up in the logs. I followed the recommendation in the Next.js docs and this is…
TechGolemn
  • 329
  • 1
  • 3
  • 11
5
votes
0 answers

next js dynamic page routing working in localhost but giving file not found error in production

This is part of my next js project. This website is running perfectly on localhost but when i deploy it on vercel, the /blogs/book/chapter page is giving me file not found enter image description here500 error. Hosted Page - Website Source Code -…
5
votes
4 answers

404: NOT_FOUND on Vercel deployment

I have build a web3 application using chakra-UI and three.js. I have added a metamask integration to the website, which helps to mint the NFTs on smart contract. When I do, npm run dev On my machine, my code is running extremely smoothly. I don't…
Hemang Joshi
  • 158
  • 1
  • 5
  • 13
5
votes
3 answers

How to fix undefined` cannot be serialized as JSON. Please use `null` or omit this value using getStaticprops

i am trying to fetch some data from an api using getStaticProps with next js. It returns the error undefinedcannot be serialized as JSON. Please usenull` or omit this value. I have amended the code based on the solutions proposed online about the…
Leo
  • 481
  • 2
  • 9
  • 20
5
votes
1 answer

How to fix the error: "No Next.js version could be detected in your project." when deploying to Vercel with Turborepo and pnpm

I am trying to deploy the Turborepo example app to Vercel using instructions from here, and getting the error: Error: No Next.js version could be detected in your project. Make sure `"next"` is installed in "dependencies" or "devDependencies" How…
francis
  • 3,852
  • 1
  • 28
  • 30