3,405 questions
0 votes
0 answers
70 views
Vercel build error: “Cannot find module '../lightningcss.linux-x64-gnu.node'” when building (Vite + Tailwind + React) project [closed]
I’m trying to deploy my personal website to Vercel using Vite + React + Tailwind CSS. The project builds and runs fine locally (npm run build works without errors), but the Vercel build fails with the ...
-9 votes
0 answers
47 views
How can i link stripe so my appnis fully functional? [closed]
I have built an app through from google ai studio, put it in github , hosting on vercel and want to add stripe for payments. I've add keys to vecel but my domain won't load to sripe. I need help so my ...
1 vote
0 answers
43 views
Getting a prerender error that a file is consuming server side logic but its client side
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 ...
-4 votes
1 answer
61 views
Vercel live site not updating UI changes after successful GitHub push and redeploy [closed]
I am building a Habit Tracker application using React (Vite) and Tailwind CSS, deployed on Vercel. The Problem: I recently updated a component (HabitList.tsx) to fix a UI issue where an input field ...
0 votes
0 answers
26 views
Endpoint fails when trigger automatically by cron job but succeeds when cron job is triggered manually
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 ...
1 vote
0 answers
30 views
Bun + Express on Vercel: How to Modularize Routes from Separate Files?
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 ...
-4 votes
1 answer
43 views
Streaming text for CURL with SolidJS & Vercel
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 ...
0 votes
0 answers
23 views
MERN Project Backend Not Loading Data on Vercel Deployment
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-...
0 votes
1 answer
48 views
In Next js project Error: <Html> should not be imported outside of pages/_document
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 ...
-1 votes
0 answers
75 views
Why my prisma seed.ts does not work for path "../app/generated/prisma"
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 ...
1 vote
0 answers
62 views
Module not found: Can't resolve # when using turborepo with nextjs and `imports`
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 ...
Best practices
0 votes
0 replies
52 views
Why does my Next.js app’s performance drop significantly when using dynamic routes with large datasets and server-side rendering (SSR)?
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 ...
0 votes
1 answer
79 views
Vercel serverless functions not working during deployment for Nuxt4 SSR Project, only serving frontend
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. ...
0 votes
0 answers
37 views
How to fix DrizzleQueryError when deploying Payload Website Starter one click deployment?
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). ...
0 votes
0 answers
113 views
How to avoid double login when using NextAuth (GitHub provider) with Giscus comment system?
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. ...