Doesnt work with new deno versions #1

Closed
opened 2026-07-14 22:14:53 +00:00 by toxicfox · 0 comments
Owner

error: Uncaught (in promise) TypeError: Deno.iterSync is not a function or its return value is not iterable
for (const chunk of Deno.iterSync(file)) {
^
at hash_file (file:///tmp/deno-compile-gm2/core/gm-runtime/gm.js:12:27)
at file:///tmp/deno-compile-gm2/core/gm-runtime/gm.js:229:25
at async run_in_dir (file:///tmp/deno-compile-gm2/core/gm-runtime/gm.js:174:2)
at async execute_gm_task (file:///tmp/deno-compile-gm2/core/gm-runtime/gm.js:206:3)
at async execute_gm_task (file:///tmp/deno-compile-gm2/core/gm-runtime/gm.js:200:3)
at async RunCommand.execute (file:///tmp/deno-compile-gm2/commands/run_command.js:23:22)
at async main (file:///tmp/deno-compile-gm2/gm2.js:32:3)
at async file:///tmp/deno-compile-gm2/gm2.js:36:1

error: Uncaught (in promise) TypeError: Deno.iterSync is not a function or its return value is not iterable for (const chunk of Deno.iterSync(file)) { ^ at hash_file (file:///tmp/deno-compile-gm2/core/gm-runtime/gm.js:12:27) at file:///tmp/deno-compile-gm2/core/gm-runtime/gm.js:229:25 at async run_in_dir (file:///tmp/deno-compile-gm2/core/gm-runtime/gm.js:174:2) at async execute_gm_task (file:///tmp/deno-compile-gm2/core/gm-runtime/gm.js:206:3) at async execute_gm_task (file:///tmp/deno-compile-gm2/core/gm-runtime/gm.js:200:3) at async RunCommand.execute (file:///tmp/deno-compile-gm2/commands/run_command.js:23:22) at async main (file:///tmp/deno-compile-gm2/gm2.js:32:3) at async file:///tmp/deno-compile-gm2/gm2.js:36:1
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
toxicfox/gm2#1
No description provided.