All Questions
543
questions
0
votes
0
answers
8
views
Uncaught Exception: ERR_STREAM_WRITE_AFTER_END in Next.js API route
I'm frequently encountering this error in one of my Next.js serverless API routes:
"Uncaught Exception: Error [ERR_STREAM_WRITE_AFTER_END]"
This error suggests that there's an attempt to ...
-3
votes
0
answers
15
views
Node.js Video Upload Feedback Project Not Working on iPhone [closed]
I'm working on a project where users can upload their videos and receive feedback using the Gemini and OpenAI APIs. The frontend is deployed on Vercel, and the backend is on Railway.
The project works ...
0
votes
0
answers
13
views
404 Not Found ID: cpt1::r4ljq-1721260694133-e0487a97aa5c
I am getting a 404 not found on when trying to trying to hit the domain for an api I am trying to connect to. Im new to dev so Im sure there is something silly I am doing.
The app is on node.js and am ...
-1
votes
2
answers
26
views
index js code appears on the home page in vercel deployment
I am working on an ecommerce app using mern stack.
I tried deploying it on vercel but for some reason the homepage shows the index js code and no other routes work, neither the api routes nor the ...
-1
votes
1
answer
32
views
How can I deploy my nodejs (with typescript) backend on vercel?
I have designed backend of my MERN application using typescript with all the configurations required for ts. Following is hierarchy of my project:
Following is my tsconfig.json.
{
"...
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
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
44
views
Cookies aren't sent over Vercel
Site works great when backend and frontend are deployed locally (on two different ports) but cookies won't send when I run it on Vercel. I even tried running the front-end locally using the back-end ...
0
votes
1
answer
54
views
How to prevent cached responses with Astro on Vercel?
I am trying to fetch data on the client side in Astro, but I keep getting a cached response.
From my endpoint in src/pages/api/spotify.ts I am sending:
export const prerender = false;
...
export const ...
0
votes
0
answers
16
views
Cannot find package vercel/kv
I am facing this error.
I have uninstalled Vercel and storage plugins but still get this error.
Note: I have set key-value pairs of Vercel in .env file.
ERROR Cannot start nuxt: Cannot find package '...
0
votes
0
answers
20
views
404 Not found error on vercel nodejs deployment
I am trying to host my nodejs backend on vercel, I am getting 404 Not Found when I make an api call. here's my vercel.json file:
{
"version": 2,
"builds": [
{ "src&...
0
votes
1
answer
38
views
Struggling to host my NodeJs backend on Vercel
As stated, I am trying to host my Nodejs backend on Vercel but I am running into issues. As far as I am aware you need to use a vercel.json file so vercel knows it's a node environment.
I originally ...
0
votes
0
answers
18
views
Error encountered while web hosting on Vercel
GET 500 /favicon.png Uncaught Exception {"errorType":"Runtime.MalformedHandlerName","error"}
I Get this error when my node.js express project on vercel
I need to Host my ...
0
votes
0
answers
54
views
socket.io-client fails to compile (module not found) on Vercel but runs just fine on localhost
Every time I try to build the vercel app, I get this error:
Failed to compile. Module not found: Error: Can't resolve
'socket.io-client' in
'/vercel/path0/client/src/components/mainlayout/navbar' ...
0
votes
2
answers
67
views
Vercel NodeJS Express Post method not working
I'm trying to deploy an api that was built on nodejs and somehow after submitting my request i see the error as below
$ vercel dev
Vercel CLI 34.2.7
> Ready! Available at http://localhost:3000
...