Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File type not supported? #5

Closed
xi-pinmping opened this issue Jun 27, 2022 · 1 comment
Closed

File type not supported? #5

xi-pinmping opened this issue Jun 27, 2022 · 1 comment

Comments

@xi-pinmping
Copy link

xi-pinmping commented Jun 27, 2022

Hi, I set this up according to instruction and have deno added to my path correctly, but still when I try the test command I get an error.

❯ terminal_images https://deno.land/images/hashrock_simple.png

error: Uncaught (in promise) Error: File type not supported.
    throw new Error("File type not supported.");
          ^
    at decodeImageFromRawFile (https://q5pm4pnchs74pdedmsydy4m2ibqanuqh4qsfdwlpd5y37miq.arweave.net/h17OP-aI8_v8eMg2SwPHGaQGAG0-gfkJFHZbx9xv7EQ/decode.ts:28:11)
    at decodeImageFromPath (https://q5pm4pnchs74pdedmsydy4m2ibqanuqh4qsfdwlpd5y37miq.arweave.net/h17OP-aI8_v8eMg2SwPHGaQGAG0-gfkJFHZbx9xv7EQ/decode.ts:14:16)
    at async getImageStrings (https://q5pm4pnchs74pdedmsydy4m2ibqanuqh4qsfdwlpd5y37miq.arweave.net/h17OP-aI8_v8eMg2SwPHGaQGAG0-gfkJFHZbx9xv7EQ/mod.ts:58:20)
    at async printImage (https://q5pm4pnchs74pdedmsydy4m2ibqanuqh4qsfdwlpd5y37miq.arweave.net/h17OP-aI8_v8eMg2SwPHGaQGAG0-gfkJFHZbx9xv7EQ/mod.ts:339:25)
    at async https://q5pm4pnchs74pdedmsydy4m2ibqanuqh4qsfdwlpd5y37miq.arweave.net/h17OP-aI8_v8eMg2SwPHGaQGAG0-gfkJFHZbx9xv7EQ/cli.ts:42:3

Any help greatly appreciated thanks!

@mjrlowe
Copy link
Owner

mjrlowe commented Jun 28, 2022

Hiya, sorry, the image url got changed. Try terminal_images https://deno.land/images/artwork/hashrock_simple.png. I'll update the docs with the correct url soon.

@mjrlowe mjrlowe closed this as completed Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants