wobsoriano / node-dalle

AI model drawing images for Node using min(DALL·E).
MIT License
5 stars 0 forks source link

UnhandledPromiseRejectionWarning: No module named 'min_dalle' #1

Closed Leekao closed 1 year ago

Leekao commented 1 year ago

When I try to use the library I get this error:

W20221103-18:47:42.727(2)? (STDERR) (node:18024) UnhandledPromiseRejectionWarning: No module named 'min_dalle'
W20221103-18:47:42.728(2)? (STDERR) (Use `node --trace-warnings ...` to show where the warning was created)
W20221103-18:47:42.729(2)? (STDERR) (node:18024) 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)
W20221103-18:47:42.729(2)? (STDERR) (node:18024) [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.

What am I doing wrong?

Leekao commented 1 year ago

nvm I figured it out.