MongoDB y Mongoose - Crea y guarda un registro de un modelo

Tell us what’s happening:

I don’t understand what is wrong with my code, i have watched youtube videos

Your project link(s)

solution: boilerplate-mongomongoose - Replit

Your browser information:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 OPR/103.0.0.0

Challenge Information:

MongoDB y Mongoose - Crea y guarda un registro de un modelo

Look at the parameter order for the callback in the example code.

person.save(function(err, data) {
  //   ...do your stuff here...
});

Now look at your own save callback parameters.