MongoDB and Mongoose - Create a Model

I have trying to complete this step and i have declared a schema as asked as well as a Model.

However when I am submitting the replit url its not accepting the Solution. I tried another solution mentioned here for reference but still go no output. Please help me!

solution: boilerplate-mongomongoose - Replit

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0

Challenge: MongoDB and Mongoose - Create a Model

Link to the challenge:

I believe the problem is that you missed one requirement for your personSchema prototype: name must be a required string.

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