I made a static webpage app that I have been slowly converting to React (MERN stack) to make it more dynamic/so I won’t have to configure each and every HTML document. It’s a product configurator that uses Google’s model-viewer. I’m fairly new to using a full-stack workflow but have found it pretty fun so far! I am having trouble however
Tag: mern
How do I fix a “nodemon app crashed” error message?
I have just worked through chapter 2 of the book Full Stack React Projects, Second Edition. When I type into the Terminal yarn development to check my code, I get this error message: I have tried the following solutions: https://stackoverflow.com/a/54450694/14537132 https://stackoverflow.com/a/63298885/14537132 Deleting nodemone.json and re-creating the file Deleting the node modules file & re-installing it How do I fix this?
How to send a variable to Backend – Mern Stack
I am trying to get some records from Mongo db based on a query. I completed the Back-end and it works well with the Postman but I do not know how to send the variable for the query from react front end to the back end. There is a Client model class and I want to retrieve all the clients
Getting “TypeError: res.status is not a function.”
TypeError: res.status is not a function at auth (D:PROJECTWeb ApplicationLearning ReactMERN STACKmiddlewareauth.js:17:9). I am getting this error. The code is given below. Error ScreenShot Answer It should be req, res, next Change to https://expressjs.com/en/guide/using-middleware.html
How can I return the results of my backend Query onto my frontend to display on a page
simple query I am currently trying to learn about the MERN stack and developing an application. This is my simple query where I am just searching for snacks with “orit” substring and thus return snacks with “Doritos” etc. How may I integrate this query or take the result and display it on a page on my frontend. Or perhaps there’s
I am getting read property map of undefined.I have tried everything but nothing worked
I have tried many solutions given on StackOverflow as well as on other platforms but nothing worked. I am new to ReactJs and I am unable to understand what is wrong in this code that I am getting this error. } Answer The Promise from axios does not resolve instantly and it is very likely that the render function was