class-validator-jsonschema icon indicating copy to clipboard operation
class-validator-jsonschema copied to clipboard

Error with latest version of node

Open ollita7 opened this issue 3 years ago • 0 comments

On version 14 of node we receive a Warning but with new onces node stop working!

Any idea how to solve it?

(node:78907) UnhandledPromiseRejectionWarning: TypeError: typeMeta.typeFunction is not a function
    at nestedValidation (/Users/olla/work/cavepot/topolgy/api/node_modules/class-validator-jsonschema/build/defaultConverters.js:19:28)
   
(node:78907) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
<node_internals>/internal/process/warning.js:41
(node:78907) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

ollita7 avatar Sep 30 '22 21:09 ollita7