All Questions
61
questions
-1
votes
0
answers
37
views
How to deploy a monorepo to two different places: Netlify for frontend and Vercel for backend?
I'm working on building a website using Next.js, where I perform some image calculations on user inputs in the backend and render some images on the frontend based on the results. I need to use a Node ...
0
votes
0
answers
39
views
WebRTC works locally, fails when deployed
I developed a Next.js website and an iPhone app that connect via WebRTC. The iPhone app streams video that can be viewed on the website. The website functions well locally, but after deploying it to ...
0
votes
0
answers
36
views
Invocation/function crashed timeout error after deployment in Vercel/Netlify
Github repo: https://github.com/sparshak7/commerceStop
I had deployed my website to Vercel. It was all working great till yesterday. From today, I keep getting tons of errors, such as application has ...
0
votes
1
answer
262
views
Request Timeout on API Calls in Production in NextJS App
I have a critial issue on my NextJS app where all of the requests to my API routes time out in production. It used to work perfectly up until recently but now my app is unusable (except for the static ...
-1
votes
1
answer
76
views
Refreshing a page in a hosted environment leads to a 404 error while it works fine on a local server in react app [duplicate]
When I refresh any web page in my React-hosted app in any route it gives me 404 error and it returns this error message in the console:Unchecked runtime.lastError: The message port closed before a ...
3
votes
0
answers
265
views
Type error: Route "app/api/auth/[...nextauth]/route.ts" does not match the required types of a Next.js Route while deploying Next app with NextAuth
I'm deploying my Next App with NextAuth on Vercel but I get this error when uploading my project and I don't understand why! If anyone can help me that would be great!
It perfectly works on my ...
0
votes
0
answers
14
views
Nuxt3 project deployment issue
I have tried to deploy my Nuxt3 project on different platforms such as Vercel, Amplify, Netlify, and digitalOcean and getting different issues on each platforms.
On Vercel and Netlify, some of the ...
0
votes
0
answers
23
views
Express.js app working locally but failing to deploy on Netlify/Vercel/Render despite following documentation
I have a server.js file
const dotenv = require('dotenv').config({ path: 'config.env' });
const http = require('http');
const mongoose = require('mongoose');
const app = require('./app');
// connection ...
0
votes
0
answers
125
views
Vite + React: Rollup unable to resolve issue on netlify and vercel
I'm facing build issues while trying to deploy me vite + react on vercel or netlify. The issues are something like [vite]: Rollup issue unable to resolve ./src/main.jsx .
and sometimes other ...
2
votes
1
answer
2k
views
Development proxy not working in react vite
I was trying to deploy my vite react application in vercel or netlify. I hosted it's backend part in render, Now backend is working, but when i hosted in frontend, the request URL change to hosted URL ...
0
votes
1
answer
578
views
Deploy React app in vercel with backend in render
I was trying to deploy my vite react application in vercel. I hosted it's backend part in render, Now backend is working, but when i hosted in frontend, the request URL change to hosted URL because I ...
1
vote
2
answers
761
views
Next JS 14.0.1 - Cannot get final name for export 'encodeXML' of ./node_modules/entities/lib/esm/index.js
So I am trying to deploy my portfolio website to Vercel or Netlify and I am facing this issue.
It's the same for Vercel as well as Netlify
[23:18:24.904] Running build in Washington, D.C., USA (East) –...
3
votes
1
answer
307
views
How to host a SvelteKit app with Server Side Events online?
I recently completed an app that simulates Robert's Rules by having each user's client emit event. I did this through the javascript EventSource which works perfectly when hosted locally. However, ...
0
votes
0
answers
127
views
Nuxt 3 build on Vercel, fails when using route middleware
I am raising this question just to bring awareness to this problem.
I created two middlewares for one of my projects and when deploying on Vercel, the build would fail. It worked perfectly fine on ...
0
votes
1
answer
83
views
My React App shows white page on deployment (Netlify & Others)
I'm having trouble deploying my React app. It runs perfectly on my local machine, but when I deploy it on Netlify or other hosting platforms, it just displays a blank white page. I've tried multiple ...