Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
39 views

The file literally exists but i keep getting this error. Error: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/task/interactions/selectmenus/help/index.js' imported from /var/task/handlers/...
Cube Nerd's user avatar
-1 votes
0 answers
42 views

I am using Vite, React and Vercel. I have come across different posts which are similar unfortunately it is not working on trying. I am running vercel dev to test. When I add the vercel.json file to ...
Anupam Krishna's user avatar
0 votes
0 answers
60 views

I am experiencing a sudden and severe slowdown in MongoDB Atlas query performance. Starting exactly on Nov 21, every API route that interacts with MongoDB became 10–50× slower. There were no backend ...
Ahmed Ghrib's user avatar
1 vote
1 answer
44 views

I am trying to cache the response of a query inside a server action file: export async function getCachedSession(userCacheToken: string, token: string) { "use cache"; cacheTag(`user-session:...
Syntaxis's user avatar
0 votes
0 answers
31 views

Heyy, When i refresh or handroute some page on my deployed version i always get a 404-error. The automated route in the app works as expected. On the web there are a lot of fixes that say to change ...
Thomas Monserez's user avatar
-1 votes
2 answers
103 views

I am trying to set cookies from the backend but the frontend (browser) keeps auto deleting them. This only happens on production not on localhost. The cookie flow is this: user clicks login with ...
Stacklep1's user avatar
  • 433
1 vote
0 answers
48 views

I'm using the entry file at the root of my app as a data layer, for redirects depending on session, which I'm retrieving using getServerSession. If at a point no session exists, user should be ...
Peter Muguro's user avatar
0 votes
0 answers
28 views

I have a serverless function running on Nextjs, hosted on Vercel. The database is hosted on Heroku. I use EasyCron as a provider for the cron jobs. Recently, there was an upgrade on the database and ...
Loïc Boset's user avatar
1 vote
0 answers
36 views

I'm deploying a Bun + Express application to Vercel. Locally, my Express app works perfectly with routes defined in separate files and imported into index.ts. However, on Vercel, the deployment ...
Dev Ayush's user avatar
  • 143
-4 votes
1 answer
45 views

Is there any way to stream text when my site gets CURL'd, similar to https://malted.dev/ ? I've tried using Vercel's functions, but I could not get it to return anything other than the HTML. If ...
darsh's user avatar
  • 1
0 votes
0 answers
23 views

I’m trying to deploy my full MERN project (frontend + backend) on Vercel. The frontend works fine, but the backend is not loading data. I keep getting this error in the console: GET https://cutomer-...
Safeya Yasien's user avatar
-1 votes
1 answer
54 views

I have having issues in vercel and render deployment, but i have checked all instances but not happening i have check other answers also but it is not working. Are there any things which I can do for ...
Krishal's user avatar
-1 votes
0 answers
77 views

import{ PrismaClient }from '../app/generated/prisma' I see red underline for this line in my vs code and also having a error "module can be found" something like that in my terminal. But it ...
Lamidu Rathnayake's user avatar
1 vote
0 answers
68 views

I have a monorepo built with turborepo. Packages compilation works fine but there is an error when I try to build entire monorepo including my nextjs app. This is my package.json and tsconfig.ts of my ...
Korer's user avatar
  • 393
Best practices
0 votes
0 replies
53 views

I'm working on a Next.js 14 app with several dynamic routes (e.g., /product/[id]) that render product details from a large dataset (around 50k+ records) stored in PostgreSQL. I'm using ...
Mina Golzari Dalir's user avatar
0 votes
1 answer
94 views

I’m trying to deploy a Nuxt 4 full-stack app to Vercel, and while the frontend builds and loads correctly, all my backend API routes fail, and there is no response from the composables or server apis. ...
ravesandstorm's user avatar
0 votes
0 answers
41 views

I am getting this below error when using one click vercel payload deployment. https://vercel.com/templates/next.js/payload-website-starter All the connection strings are added properly(automatically). ...
Lahiru Lanka Rathnayaka's user avatar
0 votes
0 answers
114 views

We’re a small student-led open-source learning platform: "involutionhell" built by volunteers in our spare time. Our website uses NextAuth.js with a GitHub provider for authentication. ...
Loong Loong's user avatar
0 votes
0 answers
46 views

I'm trying to deploy our homepage repo (apps/nd-web-home) to Vercel. Locally: the build works fine. On Vercel: the deploy fails with Module not found: Can't resolve '@repo/ui'. Our setup: /packages/...
Rohil's user avatar
  • 75
0 votes
0 answers
54 views

So basically I have put up my backend on Render web Service (on tomcat) and my frontend(Nextjs) is on Vercel. I have put up a Filter for Cors Policy to intercept all policies and as well as handled ...
Sagar's user avatar
  • 1
-2 votes
2 answers
90 views

Problem I have a React app using Leaflet.js (v.1.9.0) and I host it in Vercel. Building works OK, but when visiting my app online logs this message in console: Uncaught ReferenceError: require is not ...
LoukasPap's user avatar
  • 1,348
0 votes
0 answers
134 views

I have a Next.js app on Vercel with a custom /api/mobile-login that returns a JWT. My React Native app saves the token and calls /api/mobile-current-user with a Bearer header. Bearer Header: const ...
Joshua Kenyon's user avatar
0 votes
1 answer
96 views

I have split my Vue.js project into two parts: The frontend is a Vue app, which I successfully deployed to Netlify, and it works fine. The backend is a simple Node.js + Express server that I want to ...
Haitam Jebari's user avatar
1 vote
0 answers
172 views

I'm building a full-stack application using Bun, Express, Node.js, MongoDB, and Better Auth for authentication. The app works perfectly on localhost, but after deploying to Vercel, cookies are not ...
Ravi Yadav's user avatar
1 vote
1 answer
281 views

I have a FastAPI + Next.js project deployed on Vercel. Locally everything works, but on Vercel some routes break depending on whether I use a trailing slash in the route definition. For example, in my ...
AmericaDoodles's user avatar
1 vote
1 answer
100 views

I have a Next.js application on Vercel. My API route fails when calling Firestore's doc() function, but only when deployed to Vercel or when running the production build locally. The dev server (npm ...
Matthew Helker's user avatar
0 votes
0 answers
45 views

I have a monorepo project with a Flask backend (deployed separately) and a Next.js frontend located in a frontend directory. I'm trying to deploy only the frontend on Vercel. Project Structure: text ...
Alu's user avatar
  • 45
1 vote
1 answer
85 views

I want my subdomain sub.example.com to render the page example.com/brand without changing the URL. Examples sub.example.com/ should render example.com/brand sub.example.com/work should render example....
Etemire Ewoma's user avatar
0 votes
0 answers
43 views

when deploying the project on Vercel, an error occurs: File "/var/task/api/main.py", line 2, in <module> from config import app, db ModuleNotFoundError: No module named 'config' i ...
ispite's user avatar
  • 107
1 vote
2 answers
228 views

I am trying to deploy an Astro.js site on Vercel that utilizes TailwindCSS v4: tailwind.config.js /** @type {import('tailwindcss').Config} */ export default { purge: ["./src/pages/**/*.{js,ts,...
cr33d's user avatar
  • 23
0 votes
1 answer
311 views

This is the error it's giving when I run npm run build: ml@M-----MacBook-Air skyfold.dev % npm run build > [email protected] build > next build ▲ Next.js 15.4.6 - Environments: .env ...
DwangML's user avatar
0 votes
0 answers
55 views

According to this Vercel page it seems like using a Vercel function to run Puppeteer should be doable, but not matter what I do, I end up with Unhandled Rejection: Error: Unable to get browser page. ...
Stephen Corwin's user avatar
0 votes
0 answers
24 views

The problem I am running into is that the local typecheck is OK, but the Vercel deployment typecheck is failing: "@chakra-ui/react": "^3.25.0", "@emotion/react": "^...
Phil Lucks's user avatar
  • 4,162
0 votes
1 answer
152 views

My application uses Auth.js (NextAuth.js v5) to authenticate. In local, it works fine, but when deploying to Vercel problems arise with the "middleware function size". I tried to "...
Leocruz 's user avatar
0 votes
0 answers
55 views

I have a nextjs (15.3.1) application entirely based on dynamic routes, this is the output when I build it: Route (app) Size First Load JS ┌ ○ / ...
ste's user avatar
  • 3,289
0 votes
1 answer
45 views

I'm using Cloudinary SDK v2 in a Next.js (Node.js) API route. When running locally it works fine, but after deploying to Vercel I get this error: Must supply sdk_semver I searched extensively but ...
lauti's user avatar
  • 2
0 votes
1 answer
120 views

fetch('https://localhost:7077/api/test/users') .then(res => res.json()) .then(data => console.log('Users:', data)) .catch(err => console.error('Error:', err)); Error: Promise {<...
Brandon's user avatar
1 vote
0 answers
35 views

I'm building an Astro site using auth-astro with Google as a provider. Everything works perfectly in local development, including sign-in and callback flows. However, in production (Vercel SSR), when ...
Ouariachi's user avatar
  • 131
0 votes
0 answers
53 views

When deployed, it fails Cookie validation Bypass Vercel firewall rules for API routes even though cookie + header is seen from the browser middleware.ts import { NextResponse } from 'next/server'; ...
Dumindu Jayasekara's user avatar
0 votes
0 answers
80 views

I'm deploying a Node.js backend using Mongoose, and I'm getting the following error during build on Vercel: Error: Cannot find module './bulkWriteResult' Require stack: - /vercel/path0/backend/...
Akash Mishra's user avatar
0 votes
0 answers
46 views

I am stuck on a frustrating behavior on my next js app which I recently deployed to vercel production environment. Basically all pages are loading except my SSR page that uses dynamic routes. Also ...
Abdul Hannan's user avatar
2 votes
1 answer
242 views

I'm currently working on a project where I'm using Clerk for authentication in a Next.js application. Everything works perfectly when I run the app on localhost. I can sign in, and redirection works ...
Akshay AJ's user avatar
0 votes
0 answers
72 views

i am using express + typescript, and deploying with vercel. "scripts": { "start": "nodemon --exec npx tsx src/app.ts", "build": "tsc && tsc-...
Sein kim's user avatar
1 vote
0 answers
66 views

I'm using the Vercel SDK in a serverless function (Edge/Deno) to programmatically add custom domains to a Vercel project. The domain we actually add is a subdomain like verify.domain.tld (not the root ...
Soufiane Hadjmoussa's user avatar
0 votes
0 answers
88 views

I'm having a persistent issue deploying a Vite + React (TypeScript) application with a Node.js (Express) backend to Vercel, and I'm caught in a frustrating loop. The Tech Stack: Frontend: Vite, React,...
Krishna Dhoot's user avatar
2 votes
3 answers
465 views

In a Vercel serverless project, I am getting hundreds of typescript errors coming from my node_modules directory. The serverless app is part of a Turborepos monorepos (apps/serverless); These errors ...
AlexAngc's user avatar
  • 422
1 vote
1 answer
320 views

I'm working on a Vercel-hosted monorepo with the following setup: index.ts (using the Hono framework with hono/vercel) is compiled using tsup into dist/functions/index.js Static assets are built ...
Davi Lima's user avatar
0 votes
2 answers
80 views

I'm trying to deploy an Express.js + MongoDB + Mongoose backend to Vercel, but I’m getting this error when accessing any route (including /api/v1): 404: NOT_FOUND Code: NOT_FOUND Project structure: ...
Tamjid Ahmed's user avatar
0 votes
1 answer
80 views

I am facing a challenging debugging journey and its solution for an issue with @auth0/nextjs-auth0 on Vercel with the Next.js App Router. Core Framework & Auth Libraries: Next.js: ^14.2.15 React: ...
unacorn's user avatar
  • 1,100
0 votes
0 answers
85 views

I am using Next.js (Server Side Rendering). When running the workspace locally, a package that is defined in the root package.json but used in a sub-directory works. However when deployed, a module ...
10may's user avatar
  • 328

1
2 3 4 5
68