I keep getting this error when I'm connected to college Wifi but when I go home and connect to my home wifi it works fine and no error
I did everything
Allow access from anywhere is active
username and password are correct
what is the problem whe…
The error is: Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.
In ./reducers/carReducers.js:
const initialData = {
cars: ['a', 'b', 'c']
}
const carReducers = (state…
I'm using googleapi to login via google.
I'm getting user details and it successfully saving to DB as i wanted.
After getting user it should save cookie to localhost (which is frontend) and redirect to homepage
But its not saving cookie to localhost…
I'm trying to clone whatsapp.. I've done with frontend part.. but when I try to connect with mongodb and get & post a request through postman api... but my code is getting crashed.
I'm using "type":"module" in package.json
This is what i'm getting…
I am trying to optimize my react code by fixing any memory leaks. For this i am using createAsyncThunk canceling-while-running.
I am successful in implementing this using useEffect where I dispatch a reducer to request,
when the component mounts and…
I have a semi successful deployment to heroku but the calls to the server are saying CONNECTION REFUSED and I can't figure it out.
I can hit the route and it returns correctly in postman but not in production
Below is the services file (the ones…
Express-validator errors when trying to request with Postman express-validator.[postman errors](https://i.stack.imgur.com/mRPnr.png)
When you try to request from the social. a lot of requests are sent to the network with the code 302 Found socialnet…
Previous Heroku user here. I'm forced to try other deployment options due to Heroku removing their Free Tier a few months back. I've deployed a few MERN stack applications to Heroku in the past, but I'm having trouble figuring out how to deploy to…
Still learning MERN stack, so I followed along a YouTube tutorial and figured I'd add some additional features that wasn't covered.
After registering, I want the user to be able to update information (like their first and last names, address, etc).…
I am using material ui ,I want to fix the left side fix and right side scrollable but its not working.I am trying in this way....
Left-side box content
…
I am using next js. I am using next-auth for authentication. it is a MERN stack project.
Question: How can I get jwt token and send it to my backend using next-auth and axios.
(session.jwt) is giving me undefined.
here is my nextauth.js…
the data is not displayed by REACT and the following error is received: "Objects are not valid as a React child. If you meant to render a collection of children, use an array instead"
The records from MongoDB collection are fetched and gathered in…
the data is not displayed by REACT and the following error is received: "Objects are not valid as a React child. If you meant to render a collection of children, use an array instead"
The records from MongoDB collection are fetched and gathered in…