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

All Questions

Tagged with
-2 votes
0 answers
22 views

Why res.clearCookie() is not working after deploying to vercel?

First of all, everything works fine when running on localhost. However, after deploying the app to Vercel when the user tries to log out it should clear cookies with res.clearCookie() but it doesn't ...
Z-i-n-k-s's user avatar
0 votes
0 answers
12 views

Getting error while hosting MERN Project on AWS: .env file error

Upload the file on the aws ec2 instance using GitHub so after that I use pm2 to start the server file, but it shows an error that the server is running on an Undefined port and a mongodb error, but ...
kalgi's user avatar
  • 1
-1 votes
0 answers
11 views

Backend error in MERN stack any one have solution? [closed]

node:internal/errors:496 ErrorCaptureStackTrace(err); ^ Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at new NodeError (node:internal/errors:405:5) at ...
Krish's user avatar
  • 1
-3 votes
0 answers
19 views

How do i fetch data and display in MERN? [closed]

What are the steps to be followed? What are the packages that need to be installed? I am also willing to share my codes if needed. I tried using Axios and Cors. This is my JSX code. import { useEffect,...
Afaaf Hariri's user avatar
-2 votes
0 answers
8 views

How to Create Separate MongoDB Databases for Each Admin User and Manage Connection Strings in a MERN Stack Application [closed]

I am currently working on an inventory management system using the MERN stack (MongoDB, Express.js, React.js, Node.js). I have a requirement to create a separate MongoDB database for each admin user ...
Ivan Herald's user avatar
-2 votes
0 answers
18 views

Problem with Data fetching MERN and showing it on frontend screen [closed]

I was following along this tutorial to get started with MERN and have not been able to get over a problem that I'm facing. [https://youtu.be/MEab_a19ZGk?si=lQEatLzCPJFlkMiE] This is the video I've ...
Newbie's user avatar
  • 1
0 votes
0 answers
30 views

node and react axios 404

I kept getting 404 error in the console login.js:25 Server responded with status code: 404 [email protected]:25" the backend works fine itself but with react it keeps giving errors, I already ...
Shin Kurt's user avatar
-3 votes
0 answers
46 views

Node is creating a school management system [closed]

I just want to ask a simple question can node js create a school management system that teacher can input user result and student can also check their result and what are the technologies I can use ...
Diamond Alex's user avatar
0 votes
0 answers
29 views

Hello Everyone ! i want to connect webSocket to my mern app but getting some error

i am working on realtime chat-app ... want to integrate websocket for instance chat ... but i am getting the error i am getting this kind of error (socket__io-client.js?v=6fe409f1:1018 WebSocket ...
Shoaib Rehman's user avatar
0 votes
0 answers
22 views

How to render filtered messages?

I'm working on a real-time chat project but I'm having issues rendering the filteredMessages when a user searches for a term in their conversation. The messages are correctly filtered when I right the ...
Shawn Yang's user avatar
-1 votes
2 answers
31 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 ...
ISHAN JARWAL's user avatar
0 votes
0 answers
22 views

What command do I use to run my node backend?

I have a MERN stack application from about a year ago, and I am trying to run it on my local again, but can't seem to remember what commands I used. I managed to get the React frontend running on ...
curtis's user avatar
  • 19
0 votes
1 answer
44 views

Failed to load resource: the server responded with a status of 404 (Not Found) in reactjs and nodejs

Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON Failed to load resource: the server responded with a status of 404 (Not Found) i tried to ...
Sudip S N's user avatar
1 vote
1 answer
33 views

MulterError: File too large : How to Handle this error?

i am building a register functionality and uploading a profile image and sending it to backend. There multer handles it. The file size limit is set to 100kb. Everything works fine. But when i upload ...
Aditya Nagare's user avatar
0 votes
0 answers
19 views

How to host a MERN stack project in directadmin

I have a completed MERN stack project, and I am going to host this project in DirectAdmin. There is no problem in frontend. I hosted frontend successfully. But I'm having trouble connecting to the ...
Daniel's user avatar
  • 131

15 30 50 per page
1
2 3 4 5
107