Thomas
Thomas•9mo ago

Should deno install work with jsr?

What am I doing wrong? When I try to install a CLI from jsr.io and then use it, I get an error message: Install (example):
deno install --allow-read --allow-run -n dx -c ./deno.json jsr:@dx/dx
deno install --allow-read --allow-run -n dx -c ./deno.json jsr:@dx/dx
Execute:
dx --version
dx --version
Error:
error: Module not found "jsr:@dx/dx".
4 Replies
marvinh.
marvinh.•9mo ago
There doesn't seem to be a package called @fake/my-cli on JSR. Are you sure that it exists?
Thomas
ThomasOP•9mo ago
Okay, my mistake. I didn't actually want to advertise my cli 😅 , so I chose a fictitious name for the example. Sorry. I just wanted to know if deno install should generally work with jsr.io. But if it helps. I can't install @dx/dx as a CLI.
@dx/dx - JSR
@dx/dx on JSR: A Deno CLI for lazy typists.
Thomas
ThomasOP•9mo ago
@marvinh. I updated my post.
Thomas
ThomasOP•9mo ago
It looks like a bug to me. I have created an issue: https://github.com/denoland/deno/issues/22754
GitHub
jsr: Module not found after deno install · Issue #22754 · denoland/...
Version: Deno 1.41.1 When I try to install a CLI from jsr.io and then use it, I get an error message: Install: deno install --allow-read --allow-run -n dx -c ./deno.json jsr:@dx/dx Execute: dx --ve...