(node:1523) UnhandledPromiseRejectionWarning: ValidationError: Cake validation failed: price: Path `price` is required.
at new ValidationError (/home/durabledrupal/try-stuff/try-strapi/strapi-examples/cheesecakes/node_modules/mongoose/lib/error/validation.js:27:11)
at model.Document.invalidate (/home/durabledrupal/try-stuff/try-strapi/strapi-examples/cheesecakes/node_modules/mongoose/lib/document.js:1700:32)
at /home/durabledrupal/try-stuff/try-strapi/strapi-examples/cheesecakes/node_modules/mongoose/lib/document.js:1572:17
at /home/durabledrupal/try-stuff/try-strapi/strapi-examples/cheesecakes/node_modules/mongoose/lib/schematype.js:785:9
at process._tickCallback (internal/process/next_tick.js:112:11)
Database is successfully created in mongodb, collections created, but they are all empty except core-store:
> db.core_store.find()
{ "_id" : ObjectId("5aa592cdc54fd4059cf43b9c"), "key" : "plugin_users-permissions_grant", "environment" : "", "tag" : "", "value" : "{\"email\":{\"enabled\":true,\"icon\":\"envelope\"},\"facebook\":{\"enabled\":false,\"icon\":\"facebook-official\",\"key\":\"\",\"secret\":\"\",\"callback\":\"/auth/facebook/callback\",\"scope\":[\"email\"]},\"google\":{\"enabled\":false,\"icon\":\"google\",\"key\":\"\",\"secret\":\"\",\"callback\":\"/auth/google/callback\",\"scope\":[\"email\"]},\"github\":{\"enabled\":false,\"icon\":\"github\",\"key\":\"\",\"secret\":\"\",\"redirect_uri\":\"/auth/github/callback\",\"scope\":[\"user\",\"user:email\"]},\"twitter\":{\"enabled\":false,\"icon\":\"twitter\",\"key\":\"\",\"secret\":\"\",\"callback\":\"/auth/twitter/callback\"}}", "type" : "object", "__v" : 0 }
{ "_id" : ObjectId("5aa592cdc54fd4059cf43b9d"), "key" : "core_application", "environment" : "", "tag" : "", "value" : "{\"name\":\"Default Application\",\"description\":\"This API is going to be awesome!\"}", "type" : "object", "__v" : 0 }
{ "_id" : ObjectId("5aa592cdc54fd4059cf43b9e"), "key" : "plugin_users-permissions_email", "environment" : "", "tag" : "", "value" : "{\"reset_password\":{\"display\":\"Email.template.reset_password\",\"icon\":\"refresh\",\"options\":{\"from\":{\"name\":\"Administration Panel\",\"email\":\"[email protected]\"},\"response_email\":\"\",\"object\":\"Reset password 🔑 \",\"message\":\"<p>We heard that you lost your password. Sorry about that!</p>\\n\\n<p>But don’t worry! You can use the following link to reset your password:</p>\\n\\n<p><%= URL %>?code=<%= TOKEN %></p>\\n\\n<p>Thanks.</p>\"}}}", "type" : "object", "__v" : 0 }
{ "_id" : ObjectId("5aa592cdc54fd4059cf43b9f"), "key" : "plugin_users-permissions_advanced", "environment" : "", "tag" : "", "value" : "{\"unique_email\":true,\"allow_register\":true}", "type" : "object", "__v" : 0 }
git clone [email protected]:strapi/strapi-examples.git
cd strapi-examples/cheesecakes
npm install
npm start
cakes on front page, no errors upon initializing data on first run.