You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(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
The text was updated successfully, but these errors were encountered:
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 pathplaceholder
. 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
The text was updated successfully, but these errors were encountered: