-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi there!!
For this awesome work!
Trying to use this file:
https://github.com/mariohmol/mean-crud-generator/blob/master/demo/schema/pet.json
But is giving me this error:
(node:8145) UnhandledPromiseRejectionWarning: TypeError: Invalid schema configuration: Lodash is not a valid type at path placeholder. See http://bit.ly/mongoose-schematypes for a list of valid schema types.
at Schema.interpretAsType (/Users/mariohmol/projetos/mean-crud-generator/node_modules/mongoose/lib/schema.js:981:11)
at Schema.path (/Users/mariohmol/projetos/mean-crud-generator/node_modules/mongoose/lib/schema.js:678:27)
at Schema.add (/Users/mariohmol/projetos/mean-crud-generator/node_modules/mongoose/lib/schema.js:491:12)
at new Schema (/Users/mariohmol/projetos/mean-crud-generator/node_modules/mongoose/lib/schema.js:130:10)
at Object. (/Users/mariohmol/projetos/mean-crud-generator/backend/model.ts:23:24)
at step (/Users/mariohmol/projetos/mean-crud-generator/backend/model.ts:32:23)
at Object.next (/Users/mariohmol/projetos/mean-crud-generator/backend/model.ts:13:53)
at fulfilled (/Users/mariohmol/projetos/mean-crud-generator/backend/model.ts:4:58)
Any ideas?
thanks