Questions tagged [vercel]
For software-development questions about Vercel, a frontend cloud deployment platform.
vercel
3,519
questions
0
votes
0
answers
9
views
How to call @vercel/og image endpoint from getStaticProps?
I have set up dynamically generated OG images that I also want to use as header image for my blog posts. I have set it up using @vercel/og in Next.js, but it takes forever to dynamically call the API ...
0
votes
0
answers
17
views
Issues with CORS and HTTP Requests in Vercel Deployment for Node.js and MongoDB Backend
I'm facing issues with CORS and HTTP requests in my project deployed on Vercel. The project involves a Node.js backend (node-backend.vercel.app) and a frontend (frontend-part.vercel.app). I have ...
0
votes
1
answer
23
views
Problem with Vercel and React-Three-Fiber
Console error & Code with Folder distribution
I'm working with React-Three-Fiber.
In the localhost works good but when I do the deploy, the website principal screen works ok but when I do click on ...
1
vote
1
answer
31
views
React Vite deployed to Vercel But showing white page
Created a React Vite static page and it has deployed using vercel but when deployed it has white page
Repo:https://github.com/Aarif-Hussain-A-Nassar/Educa
Link:https://educa-gold.vercel.app/
Tried ...
0
votes
0
answers
20
views
how to actually implement a serverless function on Vercel for Vite code for production environment?
My code works perfectly fine using Vercel Dev, and a Postman request to the API route, but still, it says "Error: Error: Failed to fetch response."
I think the error may be a wrong fetch ...
0
votes
0
answers
20
views
Vercel - Supabase GET Request
I have SUPABASE database with Vercel Next.js project data is like not fetching or something
I set from supabase env. file with supabase_url and supabase_key of course set it up into Vercel too but ...
0
votes
0
answers
11
views
MongoDB + nextAuth problem when npm run build
im using Next.js 14.2.4
this is mine app/api/auth/[...nextauth]/route.ts
in npm run dev all works fine, but when I go npm run build I get this error:
app/api/auth/[...nextauth]/route.ts
Type error: ...
-1
votes
0
answers
19
views
Error occurred prerendering page "/login". Read more: https://nextjs.org/docs/messages/prerender-error nextjs vercel deployment error
I've been getting this error when deploying the project even though I don't have "ADMIN" anywhere being used on these pages:
Error occurred prerendering page "/login". Read more: ...
0
votes
0
answers
25
views
Store long kived accessTokens inside nextjs 14 and handle recurring refresh
I have a nextjs 14 web app which shows an instagram feed. To load the feed I implemented the Instagram Basic Display API.
Currently I use an external service (Google Secrets Manager) to store the long ...
0
votes
0
answers
15
views
Getting 504 Error When Project Launched to Deployment
I am having an issue when I launch my Next.js project to deployment. On the development platform I am essentially making a call from a text prompt to an API, which originally called the OpenAI ...
0
votes
0
answers
20
views
Honojs with Vercel Middleware for Backend API
How can we use Vercel Middlware (https://vercel.com/docs/functions/edge-middleware/middleware-api) in a backend API developed using Hono for Vercel (https://hono.dev/docs/getting-started/vercel) ? I ...
0
votes
0
answers
13
views
Have trouble with a react deployment to Vercel. index-C5K1NyVi.js:1 Failed to load module
My deployment appears to go through no problem after several docs issues but now I get an error index-C5K1NyVi.js:1 Failed to load module
This file does not exist, there is an index.js in the assets ...
0
votes
0
answers
13
views
Node App Deployment on Vercel giving a Not Found error
I'm trying to create a small hobby project to scrape real time stock prices using a simple NodeJS app.
I came across a couple of posts online saying Vercel would be a good platform to host a free tier ...
0
votes
1
answer
37
views
405 (Method Not Allowed) Error in Vercel FastAPI Backend (But Works Locally)
I have just deployed my NextJS-frontend/FastAPI-backend app on Vercel, and I am currently running into an issue that seems related to CORS that is giving me a 405 Method Not Allowed when I try to POST/...
0
votes
0
answers
15
views
@parcel/packager-js: External modules are not supported when building for browser this is error i am facing when running my react on build
@parcel/packager-js: External modules are not supported when building for browser
> 1 | import React from "react";
> | ^
> 2 | import ReactDOM from "react-dom/client";
&...