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

regression in 2.0.3 in deno compile from stdin #26593

Open
Ambyjkl opened this issue Oct 28, 2024 · 0 comments
Open

regression in 2.0.3 in deno compile from stdin #26593

Ambyjkl opened this issue Oct 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working correctly compile related to the `deno compile` feature

Comments

@Ambyjkl
Copy link

Ambyjkl commented Oct 28, 2024

Version: Deno 2.0.3
Last known good version: Deno 2.0.2

Run the following:

deno compile --ext js -o helloworld /dev/stdin <<<'console.log("hello world")'

Actual: throws a file not found error

Compile file:///dev/stdin to helloworld
error: Writing deno compile executable to temporary file 'helloworld.tmp-7ca31622898c7656'

Caused by:
    0: Failed adding '/dev/stdin'
    1: No such file or directory (os error 2)

Expected: succeeds with no error (in Deno 2.0.2)

Compile file:///dev/stdin to helloworld
@marvinhagemeister marvinhagemeister added bug Something isn't working correctly compile related to the `deno compile` feature labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly compile related to the `deno compile` feature
Projects
None yet
Development

No branches or pull requests

3 participants