-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
Description
Version: Deno 1.45.4
app.mjs
import rl from 'node:readline/promises'
import fs from 'node:fs'
const r = rl.createInterface({
input: fs.createReadStream("app.mjs"),
});
for await (const line of r) {
console.log(line, '--');
}
deno run -A app.mjs
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Platform: macos x86_64
Version: 1.45.4
Args: ["deno", "run", "-A", "app.mjs"]
thread 'main' panicked at cli/module_loader.rs:615:7:
internal error: entered unreachable code
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace