Installed executable does nothing and silently exits
Closed this issue · 2 comments
srackham commented
If installed from Github the executable does nothing and returns immediately.
But bizarrely, if it is installed from deno.land it works:
$ deno install -A -f --name rimudeno https://deno.land/x/rimu@11.1.12/src/deno/rimuc.ts
✅ Successfully installed rimudeno
/home/srackham/.deno/bin/rimudeno
$ /home/srackham/.deno/bin/rimudeno --version
11.1.12
Installing from Github the bundled executable command does nothing, it simply returns immediately:
$ deno install -f -A --name rimudeno https://raw.githubusercontent.com/srackham/rimu/11.1.12/src/deno/rimuc.ts
✅ Successfully installed rimudeno
/home/srackham/.deno/bin/rimudeno
$ /home/srackham/.deno/bin/rimudeno
<------ Blank line instead of version number
$
I suspect this behavior is linked to a Deno 1.4.0 install command regression: denoland/deno#7455
srackham commented
The same behaviour is exhibited by eggs 2.2 on Deno 1.4.0 mentioned in nestdotland/eggs#73
Maybe there something about the Deno 1.4.0 install
command bundling that is deno.land specific (eggs
is also fetched from a non deno.land registry URL).
srackham commented
Fixed in Deno 1.4.1