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
Currently, NPM modules are not supported in import maps. It makes the runtime fail:
Import map:
{
"imports": {
"iseven": "npm:is-even"
}
}
Code:
import isEven from "iseven";
globalThis.isTenEven = isEven(9);
Panic
thread 'deno_runtime::test::test_eszip_with_source_file' panicked at crates/base/src/deno_runtime.rs:491:30:\ncalled `Result::unwrap()` on an `Err` value: Relative import path \"iseven\" not prefixed with / or ./ or ../ f
The text was updated successfully, but these errors were encountered:
Any updates? I'm using self-hosted Supabase and I'm facing the same issue
"msg": "InvalidWorkerCreation: worker boot error Relative import path \"express\" not prefixed with / or ./ or ../ from \"file:///home/deno/functions/imap/index.ts\""
Bug report
Currently, NPM modules are not supported in import maps. It makes the runtime fail:
Import map:
Code:
Panic
The text was updated successfully, but these errors were encountered: