wobsoriano / node-dalle

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

'charmap' codec can't encode character #2

Open Leekao opened 1 year ago

Leekao commented 1 year ago

When trying to use min-dalle on windows 11 I get the following error:

 W20221104-00:09:26.845(2)? (STDERR) (node:28820) UnhandledPromiseRejectionWarning: 'charmap' codec can't encode character '\u0120' in position 2: character maps to <undefined>
W20221104-00:09:26.846(2)? (STDERR) (Use `node --trace-warnings ...` to show where the warning was created)
W20221104-00:09:26.847(2)? (STDERR) (node:28820) 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)
W20221104-00:09:26.848(2)? (STDERR) (node:28820) [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.

This is the prompt I'm trying to generate image from: A painting of a young woman, standing in a field of tall grass with wildflowers. She is wearing a simple white dress, and her hair is blowing in the breeze. The sun is setting behind her, and the sky is a deep, rich blue. The painting is called "Mary Had a Little Lamb" and is meant to represent the innocence of youth.