Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [vercel]

For software-development questions about Vercel, a frontend cloud deployment platform.

0 votes
0 answers
6 views

API is working fine in dev mode(localhost://3000) but not in production

I am currently working on a Next.js project that uses Hono as the backend framework and Neon as the database. During development, all APIs function correctly on localhost (http://localhost:3000). ...
Haider Nasir's user avatar
0 votes
0 answers
13 views

No data is output from Strapi

I upload the site to Vercel and add the connection data: NEXT_PUBLIC_STRAPI_API_TOKEN and NEXT_PUBLIC_STRAPI_API_URL If I run it locally via npm run dev, all the data is displayed, but as soon as I ...
akSite's user avatar
  • 1
0 votes
0 answers
15 views

Error: File /vercel/path0/api/node_modules/transformers/node_modules/uglify-js/tools/exports.js does not exist

I am having err in deploying site in vercel. My website is running smoothly in localhost but having err in deploying err: enter image description here this is website directory this is package.json: ...
Jayant's user avatar
  • 1
0 votes
1 answer
14 views

Adding github secrets to CI/CD actions to Vercel deployment

I want to build and deploy my NextJS app to Vercel with environments from github secrets (not from env file or from vercel directly). Here is my workflow (a development one): on: push: branches: ...
Paweł Gnat's user avatar
0 votes
0 answers
27 views

CORS error with deploying an express js server with vercel [closed]

Followed the instructions here to run an express server but I'm dealing with CORS errors when calling the backend via my next js app. How can I make this work? Suggestions for alternate deployment ...
Vayun's user avatar
  • 91
0 votes
0 answers
9 views

Translation json files not found when deploying project to vercel

I am using next-intl package to localize my next app. On localhost, everything works as it is supposed to, but when I deploy the app to vercel, it seems that app cannot find the json files. The build ...
AdamSulc's user avatar
  • 450
0 votes
0 answers
17 views

Keep getting error `[vite]: Rollup failed to resolve import "tslib" from "/vercel/path0/node_modules/.pnpm/[email protected]` upon deployments to vercel

I am building an AstroJS project with Sanity as CMS - on my development environment everything works fine and the build is also successful But when I try to deploy the project to vercel, I keep ...
NaineeL SoyantaR's user avatar
0 votes
1 answer
18 views

SvelteKit + Vercel Serverless Function Crash : [ERR_INVALID_MODULE_SPECIFIER]

I would sure be glad if someone could help me here... My website is built using SvelteKit (v2), with Prismic as a CMS, and deployed via Vercel. Everything runs smoothly locally, with no error, in the ...
Moon Rat's user avatar
0 votes
0 answers
21 views

Nuxt Vercel Deployment Failing

Worth a shot asking here. I am having trouble deploying my Nuxt app onto Vercel for some strange reason, I can't pinpoint the error. When I deploy, everything seems fine in the deployment script, but ...
clew-bot's user avatar
0 votes
0 answers
16 views

PrismaClientInitializationError: Can't reach database server

I'm unable to get the site running and connect to the database. I keep getting this error whenever I do npm run dev. I have even attempted to set connect_timeout to 1 and pool_timeout to 0, pgbouncer ...
Ahmed B's user avatar
  • 49
0 votes
0 answers
19 views

The Open Graph image for a Next.js 14 site hosted on Vercel requires authentication to display

I have multiple websites built with Next.js 14 where I've implemented Open Graph using either opengraph-image.tsx or a special API route for dynamic generation. Strangely, while the opengraph-image....
George Alexander's user avatar
-1 votes
0 answers
18 views

Why am I getting visits from USA in my app's analytics dashboard even though I am from India and i just deployed the app? [closed]

I just added vercel analytics to my app and deployed it. I am from india and i did not distribute the app link to anyone except visiting the site myself. Then why is my analytics dashboard showing ...
Abhiraj Chauhan's user avatar
0 votes
0 answers
11 views

my flask app is locally working but not able to deploy globally

from flask import Flask, render_template, request, jsonify from meta_ai_api import MetaAI from flask_cors import CORS import logging from main import MetaAI import sys import os current_dir = os.path....
Panchanathan G's user avatar
0 votes
0 answers
5 views

How to host a express js backend in vercel,i am getting error 404

I am trying to host an express js backend api on vercel Here its my project structure for the backend folder . I am trying to host the backend folder everytime it says me 404 error not found This is ...
Rudra Sankha Sinhamahapatra's user avatar
1 vote
1 answer
51 views

why is the "Uncaught ReferenceError: process is not defined" problem so hard to diagnose in my nextjs app?

I am using Nextjs, and want to call process.env from within a page. I overrode the default Document with _document.js and wrote this: export default function Document() { return ( <Html> &...
calyxofheld's user avatar
  • 2,018

15 30 50 per page
1
2 3 4 5
236