82,040 questions with no answers
2
votes
0
answers
77
views
Multer returns req.file undefined when uploading image with Hoppscotch in Express
I'm building a Node.js + Express backend where users can upload profile pictures using Multer. When I send a POST request from Hoppscotch to /update_profile_picture, I get this error:
Cannot read ...
0
votes
0
answers
61
views
NginX is failing to properly redirect to my node.js, although if I go to the IP:port directly, it works
NginX's .conf file:
server {
listen 80;
listen [::]:80;
root /home/myUsername/serverDirectory;
index index.html index.htm;
server_name my.domain.name;
...
Advice
0
votes
0
replies
27
views
Exclude ffmpeg on installation
I use Playwright for recording and playback of the tests, but because of specific constraints, I can't have ffmpeg installed as part of Playwright. I want to find a way to exclude ffmpeg from being ...
3
votes
0
answers
44
views
Weird OpenAI streaming bug: concurrent JS streams randomly mix chunks across responses
I’m hitting a super weird issue with OpenAI’s streaming API.
I’m building a multi-message streaming thing in plain JS (no frameworks) where I need to pipe multiple OpenAI responses one after another. ...
-3
votes
0
answers
24
views
AWS ECS + NLB deployment: LiveKit AI voice agent works locally but voice/websockets fail in production
I’ve built an AI voice agent that connects with a student in real-time. Here’s the setup:
The student asks questions via the frontend.
The agent follows predefined instructions and responds using ...
-1
votes
0
answers
16
views
suppress onnxruntime warnings
I have a node.js project doing speech-to-text transcription with the xenova/transformers models. My project shows a lot of warnings - how do I suppress the warnings to log only errors?
I've tried ...
0
votes
0
answers
37
views
Prisma Client not initializing with v7 and MongoDB, despite running prisma generate
I am attempting to set up a Node.js Express application using Prisma ORM v7.0.1 and a MongoDB database. I keep running into an Error: @prisma/client did not initialize yet. Please run "prisma ...
0
votes
0
answers
41
views
Why does "message:successful_payment" event work randomly?
As you can see in my short video example event message:successful_payment sometimes doesn't run after payment. In my video example there was only one execution after 3 payments (only the second ...
0
votes
0
answers
32
views
Connection to remote PostgreSQL server with hashtag in password with node-postgres
I have a password for a remote PostgreSQL server that I cannot change. This password contains hashtags (#). From searching, I know that this can be a problem.
I can connect to the server from the ...
0
votes
0
answers
20
views
Express Admin Panel Routes Not Working on cPanel with Passenger (React App Works Fine)
Problem Summary
I have a Node.js monorepo with both an EJS-based admin panel and a React frontend. The app works perfectly on localhost, but when deployed to cPanel with Passenger, only the React app ...
0
votes
0
answers
46
views
Firebase Gen 2 Cloud Function (Node.js) Fails with PERMISSION_DENIED on Secret Manager Access despite Correct IAM
I am running a Firebase Gen 2 (Node.js) Cloud Function and attempting to access a secret from Secret Manager. Despite confirming all recommended IAM roles, the function execution fails with a ...
-3
votes
0
answers
53
views
HTTP Put Request Not Updating But I Still Get A 200 Status Code
Whenever I try to update an object from the genres array using the code below, nothing happens. I get a 200 status code but the object remains the same with no updated value. where could I be going ...
0
votes
0
answers
66
views
+50
How to update multiple records with different values and SQL injection protection with raw SQL in prisma?
For November 2025, the Prisma does not support the updating of multiple records with different values. Although the transactions are being considered as main workaround for such cases, the transaction ...
0
votes
0
answers
50
views
How to update a large number of mongodb documents in a tree structure?
I'm using mongo db with payloadcms and I have tree like structure.
We have a collection called nodes. A node have children as array and a parent id.
Now I want to change the node status like marking ...
0
votes
0
answers
256
views
How does hosting a website work when using a Backend/Database?
I have hosted static sites before and here's how it worked:
I have my HTML, CSS, JavaScript files ready
I upload them to a hosting site
and the website goes up
But now I'm starting to work on ...