DragoSpiro98
DragoSpiro982mo ago

Deno add from different sources (like JSR) doesn't works?

Hi, I'm new with Deno. The problem is: I copy-paste this code deno add jsr:@oak/oak jsr:@tajpouria/cors and deno search it from npm and not jsr, it gives me the error error: npm package '@jsr/oak__oak' does not exist. why?
3 Replies
krml
krml2mo ago
Hey, what version of Deno do you use? You can check that via deno --version. And what is your directory setup. Is it a newly created directory?
DragoSpiro98
DragoSpiro98OP2mo ago
I upgraded now to canary version deno 2.0.0+f94cdd1 (canary, release, x86_64-pc-windows-msvc) v8 12.9.202.13-rusty typescript 5.6.2