You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ DENO_FUTURE=1 deno task "test:node"
Warning Ignoring dependency '@astrojs/internal-helpers'in package.json because its version requirement failed to parse: Not implemented scheme 'workspace'
Warning Ignoring dependency '@astrojs/markdown-remark'in package.json because its version requirement failed to parse: Not implemented scheme 'workspace'
Warning Ignoring dependency '@astrojs/telemetry'in package.json because its version requirement failed to parse: Not implemented scheme 'workspace'
Warning Ignoring dependency 'astro-scripts'in package.json because its version requirement failed to parse: Not implemented scheme 'workspace'
Task test:node astro-scripts test"test/**/*.test.js"
============================================================
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 aarch64
Version: 1.43.5
Args: ["/Users/marvinh/.deno/bin/deno", "run", "--ext=js", "-A", "/Users/marvinh/dev/oss/astro/packages/astro/node_modules/.bin/../astro-scripts/index.js", "test", "test/**/*.test.js"]
thread 'main' panicked at cli/module_loader.rs:583:7:
internal error: entered unreachable code
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Hello @marvinhagemeister
I noticed that there is unreachable statement within the "load_prepared_module_or_defer_emit" function in "module_loader.rs" file.
The unreachable statement has a comment: unreachable!(); // Node built-in modules should be handled internally.
Could you please clarify what's meant by "handled internally"? Does it refer to deno itself? If so can you help with pointing out the part of Deno code that should've handled it internally?
Steps to reproduce
cd
into cloned repositorypnpm i
cd packages/astro
DENO_FUTURE=1 deno task test:node
Output:
Running with
RUST_BACKTRACE=full
:Version: Deno 1.43.5
The text was updated successfully, but these errors were encountered: