app is crashed
Lasarussp opened this issue · 0 comments
Lasarussp commented
throw new TypeError(Invalid schema configuration: \
${name}` is not ` +
^
TypeError: Invalid schema configuration: U
is not a valid type at path 0
. See https://bit.ly/mongoose-schematypes for a list of valid schema types.