Thomas
Thomas•5mo 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.•5mo ago
There doesn't seem to be a package called @fake/my-cli on JSR. Are you sure that it exists?
Thomas
Thomas•5mo 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
Thomas•5mo ago
@marvinh. I updated my post.
Thomas
Thomas•5mo 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...
More Posts
Import-IntelliSense with Fresh and VSCode doesn't work as expectedHey. I'm fairly new to Deno and Fresh so I assume I'm simply missing something. I've created a FreshHow to rewrite this code so I don't have to force deno to stop linting?```ts import { parse } from "https://deno.land/std@0.218.2/toml/mod.ts"; import { match } from "npm:Deno compile optimizationHi Everyone, I'm building a CLI tool with Deno and I was wondering - if there are any optimizationIs there a way to select Partial Mode on button?I researched and I do not think it is possible, but it would be nice to do something like: ```<a f-pHow to Restart Server ManuallyI run Hono framework with Deno. I run the server using task script `deno run -A --watch ./server/maiIs there any reference manual for how doc comments are rendered on JSR or deno.land/x?I guessed it's just TSDoc, but it turns out that it's not exactly TSDoc (e.g., `@link` to an instancHow to start using data validation in kv?Hey fellows! I want to dive into data validation. Any experience or suggestions? Feel free to postdeno cache isn't working from vscodeWhen initializing a new fresh project from the cli script `deno run -A -r https://fresh.deno.dev` an`.read()` method in `Deno.Conn` or `Deno.FsFile` in Deno 2.0After `Deno.Reader` is removed in v2.0, will we still be able to use `.read()` method in `Deno.Conn`Stuck trying to install a JSR package with its dependencies and use it in a browserI published https://jsr.io/@datasette/table to JSR - an experimental web component package - and now