This post has been de-listed (Author was flagged for spam)
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm making a simple inventory management system using the MERN stack. I've deployed my frontend successfully on Render, but am getting errors when trying to deploy the backend. The error I'm getting relates to a model/schema not being found. I feel as though my models and routes are being exported/imported correctly. The environment variables and build commands are also all correct. Also, everything runs perfectly on my local server port, all the routes are being hit and the database is working. I've attached some images with the relevant errors and code, could anyone offer any suggestions?
Subreddit
Post Details
- Posted
- 3 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/node/commen...