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
I will preface this by stating that I don't know much about deno and I'm learning as I'm going, so this is entirely possibly user error.
I'm attempting to initialize a deno_core::JsRuntime with the deno_fetch extension. According to the documentation and the dependency listdeno_net is not a dependency of deno_fetch (in fact, it appears it's the other way around!). However attempting to use only deno_fetch results in this error at runtime:
thread '<unnamed>' panicked at /Users/houndie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_core-0.324.0/runtime/jsruntime.rs:745:9:
Failed to initialize a JsRuntime: Specifier "ext:deno_net/02_tls.js" was not passed as an extension module and was not included in the snapshot.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Would love advice on how I can fix this on my side. I tried including deno_net and dependencies, which does seem to solve the problem, but it seems there's also a dependency on telemetry which requires typescript transpilation to use that extension so I thought I'd take a pause before following that rabbit hole.
The text was updated successfully, but these errors were encountered:
I will note that it appears that adding deno_net to your extensions solves the problem. Instead of solving the subsequent telemetry problem, it appeared to be a recent change so I rolled back a few versions.
It does seem like there's a silent dependency issue here that requires fixing though.
I will preface this by stating that I don't know much about deno and I'm learning as I'm going, so this is entirely possibly user error.
I'm attempting to initialize a
deno_core::JsRuntime
with thedeno_fetch
extension. According to the documentation and the dependency listdeno_net
is not a dependency ofdeno_fetch
(in fact, it appears it's the other way around!). However attempting to use onlydeno_fetch
results in this error at runtime:I browsing the source I find this suspect import potentially causing this?
Would love advice on how I can fix this on my side. I tried including
deno_net
and dependencies, which does seem to solve the problem, but it seems there's also a dependency ontelemetry
which requires typescript transpilation to use that extension so I thought I'd take a pause before following that rabbit hole.The text was updated successfully, but these errors were encountered: