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

Error publishing package using node:readline/promises #91

Closed
henrikvilhelmberglund opened this issue Jun 25, 2024 · 4 comments · Fixed by denoland/deno#24336
Closed

Comments

@henrikvilhelmberglund
Copy link

No idea if this is where I should post the issue. I get an error when trying to publish my simple package to JSR:

$ npx jsr publish
Need to install the following packages:
jsr@0.12.4
Ok to proceed? (y) y

Downloading JSR binary...
[00:01] [#################################################>] 37.4 MiB/37.5 MiB
error: Unknown built-in "node:" module: readline/promises
    at file:///C:/Github/my-libraries/hvb-screenshots/dist/dist.js:9:22
Child process exited with: 1

Am I missing something?

Repro: https://github.com/henrikvilhelmberglund/hvb-screenshots

@bartlomieju
Copy link

It's actually a bug in Deno, I opened denoland/deno#24336 to fix this problem.

@henrikvilhelmberglund
Copy link
Author

It's actually a bug in Deno, I opened denoland/deno#24336 to fix this problem.

Thanks!

@bartlomieju
Copy link

@marvinhagemeister is the jsr-npm using canary version of Deno?

@marvinhagemeister
Copy link
Collaborator

yes

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

Successfully merging a pull request may close this issue.

3 participants