Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install with Deno 2 runtime #93

Closed
adunne09 opened this issue Oct 10, 2024 · 6 comments
Closed

install with Deno 2 runtime #93

adunne09 opened this issue Oct 10, 2024 · 6 comments
Assignees

Comments

@adunne09
Copy link

adunne09 commented Oct 10, 2024

https://jsr.io/@extism/extism and import createPlugin from "jsr:@extism/extism"; here in the README indicate that there is an extism jsr package, but when I run deno add jsr:@extism/extism, I get:

error: jsr:@extism/extism was not found, but a matching npm package exists. Did you mean `deno add npm:@extism/extism`

Is this the intended behavior, or is there meant to be an extism jsr package?

@bhelx
Copy link
Contributor

bhelx commented Oct 14, 2024

As discussed in Discord, I believe this should be a JSR package. But maybe something changed in Deno 2.

@chrisdickinson
Copy link
Contributor

chrisdickinson commented Oct 14, 2024

Hm, maybe Deno 2 isn't picking up the rc release? I'll take a look.

@bhelx
Copy link
Contributor

bhelx commented Oct 14, 2024

@adunne09 did you find any more details? And is this related to the WASI issue you posted in discord?

@adunne09
Copy link
Author

@adunne09 did you find any more details? And is this related to the WASI issue you posted in discord?

My overall goal right now is to determine the feasibility of Deno 2 as the JS runtime for a plugin-centric application. I have not found any more details other than this issue is still persisting. With this issue specifically, I'm simply confused how there is this package on jsr- https://jsr.io/@extism/extism but when I run deno add jsr:@extism/extism, it fails.

@chrisdickinson
Copy link
Contributor

Confirmed: deno 2 isn't picking up rc releases. You can work around this for now using deno add jsr:@extism/[email protected]. (We'll cut a v2 release of the js-sdk soon.)

@G4Vi
Copy link

G4Vi commented Oct 14, 2024

Closing in favor of #96 as it's now just a documentation issue.

@G4Vi G4Vi closed this as completed Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants