在尝试自动递增字段时,我使用了Mongoose序列,但它从不自动递增,因为Mongoose总是抛出以下错误:在(C:\Users\Posh\Desktop\api2\node_modules\mongoose\lib\error\validation.js:48:26) at ValidationError.inspectat formatValue
我试图创建一个自定义的异常过滤器蒙戈错误通过蒙鹅。当我使用过滤器时,会出现一个UnhandledPromiseRejectionWarning,它不会给出结果。知道我怎么能解决这个问题吗?错误: UnhandledPromiseRejectionWarning: TypeError: Right-hand side of 'instanceof' is not an object