error Unsupported scheme node for module `nodemodule`. Supported schemes
I'm trying to import a module using:
Inside
example
, there's this line:
I get this error on that very line:
15 Replies
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
Sure, will do
š
Love that
That's so weird. The correct URL: https://dl.deno.land/canary/cc3e2b9b1a7ccd6c671bc0b3813cf7e2b0d88b5c/deno-x86_64-apple-darwin.zip
It got thr wrong URL. I ran
deno --upgrade canary
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
that should work, if you can reproduce this reliably, please open an issue
Opened https://github.com/denoland/deno/issues/16221 - I'm not sure about reproduce- but on my machine it's always the case no matter where I run it from
Thank you for the suggestion
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
Ohh
That's strange, but I'll switch to Codespaces and carry on
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
ok on Canary, same thing I'm afraid
So it seems reproducable: the file to run just has contents
import "npm:assemblyscript/asc";
This doesn't work in the repl because afaik repl has no npm:
atmUnknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
Wrote up a nice issue and a single command to reproduce the problem
https://github.com/denoland/deno/issues/16223
GitHub
error: Uncaught (in promise) TypeError: Unsupported scheme "node" f...
Single step to reproduce Run this command: echo "import 'npm:assemblyscript/asc';" >> test.js && deno run --unstable -A test.js Error...
:)
Ty for the attention
I've used arch too btw
but it came with no wifi drivers and I couldn't download them due to no wifi
Looks like the canary issue will result in a more informative error for M1 users- so we hopefully have two useful issues out of this
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
Ah, nice, I'll edit that in
Could you comment that in issue?
to let Deno team know it's more reproducable
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View