the test show me “Creating an instance from a mongoose schema should succeed”, what I do???
const mongoose = require('mongoose');
let personSchema = new mongoose.Schema({
name: { type: String, required: true },
age: Number,
favoriteFoods: [String]
});
let Person = mongoose.model('Person', personSchema);
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74
.
Challenge: Create a Model
Link to the challenge:
Sky020
2
Hello there,
Would you mind providing a link to your project code? It is difficult to tell what is happening without it.
Sky020
5
The link you provided leads to a 404 (page does not exist).
Sky020
7
Thank you, for sharing that. I just started the app, and submitted the link, and it passed.
Are you able to pass, now?
system
Closed
9
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.