-
Notifications
You must be signed in to change notification settings - Fork 241
Closed
Description
Library bug please fix it or merge #90 maybe will solve it. Thanks
(node:45154) UnhandledPromiseRejectionWarning: TypeError: this.fetch is not a function
at Replicate.request (/Users/sangvo/Desktop/tool-video/node_modules/replicate/index.js:152:33)
at Replicate.createPrediction (/Users/sangvo/Desktop/tool-video/node_modules/replicate/lib/predictions.js:26:27)
at Replicate.run (/Users/sangvo/Desktop/tool-video/node_modules/replicate/index.js:108:47)
at replicateImage (/Users/sangvo/Desktop/tool-video/helper/ReplicateImage.js:27:40)
at async /Users/sangvo/Desktop/tool-video/createVideoV2.js:455:40
(Use `node --trace-warnings ...` to show where the warning was created)
(node:45154) 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:45154) [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.
Metadata
Metadata
Assignees
Labels
No labels