vercel Questions

4

Solved

On my production site hosted on vercel, after authentication with clerk, it redirects me to localhost. This only happens on the laptop I'm using for development. If I connect to the production site...
Amnion asked 22/5, 2023 at 19:55

3

I have a simple React + Vite project that I deployed on Vercel for the first time for fun. But whenever i hit refresh on a sub-route, it sends me to a 404 page. I'm using react-router-v6 for ...
Geffner asked 8/4, 2023 at 7:2

8

Error: No Output Directory named "build" found after the Build completed. You can configure the Output Directory in your Project Settings. i got this error here is my repository https://...
Permenter asked 28/2, 2023 at 13:4

3

Solved

I really like to deploy apps on Vercel. I do however wonder how one is supposed to deal with all the preview deployments that inevitably will get created. Are you supposed to delete them yourself? ...
Unlisted asked 26/4, 2021 at 12:50

4

Solved

NextJS 13 project with package that has an inner core dependency (react-leaflet->@react-leaflet/core). yarn run build Build fails on "Linting and checking validity of types" Seems like...
Corinecorinna asked 26/12, 2022 at 8:26

3

Solved

I want to stop Vercel from creating preview deployments for the dependabot pull requests. In Vercel, in the Ignored Build Step I've tried this: bash vercel.sh and in my repo, the vercel.sh file lo...
Granddaughter asked 25/1, 2023 at 9:40

0

I developed an AI chatbot application using Vercel's AI SDK. I'm encountering issues with onSetAIState when saving data to Supabase. In this function, I perform two operations: saving messages to ...
Milkfish asked 17/8 at 19:44

4

Solved

When I deploy my project to Vercel, the build fails with this error: ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up-to-date with packag...
Baklava asked 9/8, 2023 at 16:22

6

Solved

I tried to deploy my express server on vercel to solve cors problem on my front code. The problem is 404 error pops up when I enter the deployed page: but it goes well when I try on localhost. // ...
Volution asked 11/6, 2022 at 13:28

6

Solved

Here is my authOptions code which is running perfectly on localhost. import NextAuth, { NextAuthOptions } from "next-auth"; import GoogleProvider from "next-auth/providers/google&quo...
Electric asked 11/12, 2023 at 5:35

12

Solved

I have developed an application in Next.js. For the backend I have used the api endpoints configured in Nextjs which rest inside pages/api. The api end points quite often return 502(Gateway timeout...
Princeling asked 9/5, 2021 at 11:4

7

Solved

I got this error during Vercel deployment: TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11457:11) at process.processTicksAndRejections (node:internal/process/task_que...
Mojgan asked 15/8, 2023 at 11:5

11

Solved

I'm using Nodemailer to send emails in my serverless Next.js project, deployed in Vercel, which works perfectly in development mode. But I'm having problems in production. No error returned, everyt...
Investigator asked 8/1, 2021 at 15:5

9

My nextjs app was working properly I added some files to update my code now it is not deploying my app on vercel. gives this error I tried googling the error but my case in unique. This is the git...
Szymanski asked 18/1, 2022 at 16:5

25

For some reason my favicon is not working. I have the favicon saved as favicon.ico in the /public directory and am referencing it in the <Head> of my pages (located in the /pages directory) ...
Burthen asked 16/5, 2020 at 12:46

4

According to the docs https://next-auth.js.org/configuration/options#secret , adding a NEXTAUTH_SECRET as an environment variable, you don't have to define this option. But in vercel production I s...
Ardennes asked 24/3, 2022 at 10:42

8

Solved

Is there a way to select a custom branch to deploy ? I do not seem to be able to select a branch and it takes the default main branch thanks in advance
Hilton asked 10/3, 2021 at 21:11

3

Solved

I have a simple React.js application with wouter-based routing and Vercel deployments that drive me into a little issue where I have no idea about the solution. It always returns 404 after refresh ...
Interknit asked 26/1, 2022 at 21:52

5

I want to play around with these new storage features Vercel has added recently, but can't get the Postgress one to work. I used this template. It deployed perfectly fine, but when i try to run it ...
Gluey asked 4/5, 2023 at 16:9

17

Solved

I am trying to publish a serverless web to vercel. I want to use react-router and this works good on my computer but when I deploy it It doesn't works Can somebody help me? (I want to do it without...
Bathometer asked 13/11, 2020 at 3:20

2

Similar tho this question How to run Github Actions with the 'deployment_status' kitty and only on the QAS branch? I want to execute a workflow only on a specific branch but combined with t...
Kosygin asked 19/10, 2021 at 10:50

1

I need to use fileStystem methods as readdirSync on an API Route in NextJS. It works locally but when deployed on Vercel, the request responds with a 500 status code. This is Vercel's Funcion Logs:...
Kilan asked 9/11, 2021 at 14:38

29

I am encountering this build error when I deploy my next js site to vercel 15:02:38 > Build error occurred 15:02:38 Error: Export encountered errors on following paths: 15:02:38 /about/undefined...
Babirusa asked 23/12, 2020 at 14:6

15

Solved

I am developing a React app in VS Code. I used create-react-app for setup. I can run the project without any problem with npm start. When I tried to publish the project with Vercel I got errors: Al...
Undeniable asked 28/3, 2021 at 11:28

5

Solved

Code Full codebase & folder structure can be seen in GitHub Here is the Swagger related route (had to make it a standalone server) // api/v1.ts import express = require("express"); i...
Raze asked 11/9, 2021 at 20:33

© 2022 - 2024 — McMap. All rights reserved.