Problem with Deno's compile
I have updated to deno 2.5.3 yesterday (stable release, aarch64-apple-darwin) and, since then, I have problems with deno compile even when I use it on a one-liner typescript file (i.e., console.log('Hello world').
At first, I got a load of warnings about symbolic links that were wrong (no target). I took care of those but, nevertheless, the deno process did not finish even after several minutes; I had to kill it manually.
What was strange is that the symbolic links referred to files and directories that had absolutely nothing to do with the oneliner ts file, or even with deno in general. (Old projects still around on my disc, whether in typescript or not.) I attempted to run it in the background and what I seemed to understand is that the process was doing file i/o all over the place. As if it was scanning my disk.
Compile worked perfectly well before the upgrade.
Any idea? I am happy to try to debug further if someone tells me what is worth doing...
Cheers
Ivan
8 Replies
you can try to bisect and find the responsible commit, if it still works in 2.5.2
its easy since you can just use deno upgrade commit_hash
Thanks for the idea @Mrcool ๐ต๐ธ ; to be honest, I did not realize that it was so easy to "downgrade" a local installation.
I downgraded to the previous version of deno, i.e., 2.5.2, and the compilation now works. Clearly a bug has crept in the latest release.
I just wonder whether deno developers/maintainers watch this space, or whether I should repeat my comment as a bug report somewhere. I am happy to do so, but I am not sure where that should be. I spotted https://github.com/denoland/deno/issues, but that one has 2.3k open issues...
Oops, sorry, that is not the number of open issues, it is the list of issues altogether. The number of open issues is much less, so that may very well be the place to submit a bug report after all...
Yes just open an issue
Deno upgrade is useful I use it from time to debug regression like this, I have this script to make things faster https://jsr.io/@sigma/bisect
GitHub
denoland/deno
A modern runtime for JavaScript and TypeScript. Contribute to denoland/deno development by creating an account on GitHub.
In the meantime, I keep to 2.5.2...
GitHub
Problem with Deno's compile ยท Issue #30930 ยท denoland/deno
Version: Deno 2.5.3 (aarch64-apple-darwin). I have updated to deno 2.5.3 and, since then, I have problems with deno compile even when I use it on a one-liner typescript file (i.e., console.log('...
I hate when a bug become mysterious like that
But we can just close this thread with the uneasy feeling that a possible issue is out there somwhere.
At least :deno_it_works: now