Skip to main content

All Questions

Tagged with
0 votes
1 answer
21 views

What should my vercel.json config file to deploy my MERN stack given my current project folder organization?

I am trying to deploy my MERN stack on vercel but I can't get much documentation on what the vercel.config file should contain. This is how my Vite (npm create vite@latest) MERN project is structured: ...
jlimsy's user avatar
  • 3
0 votes
0 answers
28 views

TailwindCss has different colors in Dist Build and run Dev

I need to help please, I have been building a project with tailwindCss and React, with Vite, but when I build my project then generate the dist carpet, but the colors are different when I run project ...
Sierpe's user avatar
  • 25
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 ...
Aarif Hussain A Nassar's user avatar
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 ...
user26354078's user avatar
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 ...
Eoin McDonnell's user avatar
1 vote
0 answers
24 views

Error: Cannot set properties of undefined (setting 'mode') vercel deployment laravel

I want to deploy using vercel through the CLI and when I run vercel build everything is safe until npm run build then not long ago it appears the error setting 'mode' I don't know where the error is ...
Roihan Adhen's user avatar
0 votes
0 answers
29 views

How to fix the blank page while deploying my project on vercel

i deployed my project in vercel it show an blank page when run on the local it is working but when it deployed on vercel it show only blank white page https://github.com/manibalaji003/Weather-App....
Mani Balaji's user avatar
0 votes
0 answers
67 views

Blank page after deploy React / Vite app to Vercel

I have a React / Next.js app with Vite and try to deploy it on Vercel but the page is blank and the console gives me this error: Failed to load module script: Expected a JavaScript module script but ...
Haidepzai's user avatar
  • 990
0 votes
0 answers
45 views

MIME type of "text/html"

I have project with turborepo and 2 react projects inside deployed on Vercel. Today I faced the problem, that on prod, when I navigate to https://website/results/report, it works well, but when I ...
Zhenya's user avatar
  • 11
1 vote
0 answers
43 views

environment variables are not working on vercel, netlify

I have a .env file which contains my backend server endpoint. I have configured vite.config.js file to use that endpoint from .env file. But as I have added it on vercel for production, my project is ...
Gaurav Wagh's user avatar
0 votes
0 answers
49 views

proxy api is not working in Vite + React project when it's deployed to Vercel

I have an issue with Vite+React project. I used Vite proxy to fetch data via api and it's working well in local. But 401 error is caused when it's deployed to Vercel.com. Vite configuration is like ...
user24751726's user avatar
0 votes
0 answers
35 views

Issues with CORS when sending API calls on local network

I'm trying to create an application that will take a midi signal from the host computer, read the midi data and when certain midi notes are detected, an API call is made to a piece of software running ...
Aaron Phillips's user avatar
0 votes
0 answers
48 views

React(Vite) web app runs on localhost but when I deploy it to vercel, I get a blank page

When I try to access the website from my browser I get this error in the console: index-3d1f8e86.js:126 Uncaught TypeError: fw.div is not a function at index-3d1f8e86.js:126:916 and blank page. When ...
Boltech's user avatar
1 vote
1 answer
1k views

Error while deploying Laravel App on Vercel Project

So I am trying to deploy Laravel on Vercel from php-laravel but I am getting the below error. 🐘 Downloading user files 🐘 Downloading PHP runtime files 🐘 Installing Composer dependencies [START] ...
Rohit A's user avatar
  • 11
0 votes
1 answer
163 views

React.js + Vite based project, after Build showing: "Uncaught (in promise) SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON"

First thank you very much for looking at my question ˙ᵕ˙ This is my first time to post, and hope all the contents are clear and look structured. I am using React.js and vite to build an website and ...
Yegi Park's user avatar

15 30 50 per page
1
2 3 4 5
7