MongoDB and Mongoose - Create a Model

Not sure why, but it says “Creating an instance from a mongoose schema should succeed”. A possible problem could either be the way I have coded or prolly the code beneath my code which has been commented.

Your project link(s)

solution: Glitch :・゚✧

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

Challenge: MongoDB and Mongoose - Create a Model

Link to the challenge:

I notice you just changed a misspelled field in your Schema. That’s fixed it?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.