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

Questions tagged [mern]

MERN stands for Mongo, Express, React and NodeJS.

-2 votes
0 answers
20 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
0 votes
0 answers
24 views

What can cause Playwright to duplicate an action?

I'm writing tests for a small MERN stack blogging application as part of an online course I'm following along with. I've written a few Playwright tests for the user log in, and blog creation. However, ...
Stephen's user avatar
  • 97
-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
-1 votes
0 answers
19 views

nodemon app crashed - waiting for file changes before starting error in MERN project [closed]

I'm working on a MERN project with Nodemon. Unfortunately, when I tried to run it, it gave this error. I'll post the entire terminal output for clarification: C:\Users\om\Desktop\React-Project\server\...
Thales's user avatar
  • 99
-4 votes
0 answers
44 views

After Running 'npn run server', this error arise [closed]

This Syntax Error is from vs-code terminal : > return new RegExp(path, flags); ^ SyntaxError: Invalid regular expression: /^function asyncUtilWrap(\.\.\.args) { const fnReturn = ...
Muhammad_Hussain's user avatar
0 votes
1 answer
11 views

Error while deploying MERN stack application on Vercel

I'm trying to host a MERN stack application with the following folder structure: root backend server.js (entry) other files frontend build node_modules package.json .gitignore other files ...
Swaraj's user avatar
  • 27
-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
-2 votes
0 answers
13 views

My domain is not accessible after i switch my DNS from Netlify to Hostinger VPS (MERN Project) [closed]

I initially had my DNS set up at Netlify coz previously i was just connecting it to my github repos and hosting the vite frontends wrapping them up around my domain, but then down the line i decided ...
abdullah basarvi's user avatar
0 votes
1 answer
29 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
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
45 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
-1 votes
0 answers
27 views

Data not Saved In MongoDb

I'm having trouble inserting a purchased course by its course ID into the user's document in the MongoDB collection using Express.js and Mongoose. The insertion does not seem to be happening correctly,...
Yadnyesh-Dashpute's user avatar

15 30 50 per page
1
2 3 4 5
240