Hey there, I am interested to see if there is a plan for one to be able to do npx deno index.ts at some point? I checked #2473 and it looks like the install bullet is already ticked off, but when I tried this command, I got:
ENOENT: no such file or directory, chmod 'C:UsersmeAppDataRoamingnpmnode_modulesdenobininstall.js'
Is the mentioned install bullet a different thing from what would be needed to make this an option?
The reason I am interested in this is that I think npx deno index.ts would give me the most straightforward flow when sharing scripts with people or myself on other devices. I am happy to assume people have a recent-enough Node (and thus NPX) installed, but I don't want to mess with NPM after cloning and the combination of npx deno gives me a no-setup experience where Deno will be fetched by that and the dependencies will be resolved and cached as well, so it's literally just a clone and run experience and that's really interesting to me.
Related issue: https://github.com/denoland/deno_install/issues/6
Is the mentioned _install_ bullet a different thing from what would be needed to make this an option?
It's internal deno command to install script as executable:
$ deno install file_server https://deno.land/std/http/file_server.ts --allow-read --allow-net
This command will install file_server executable that runs script available at "https://deno.land/std/http/file_server.ts".
Most helpful comment
Related issue: https://github.com/denoland/deno_install/issues/6
It's internal deno command to install script as executable:
This command will install
file_serverexecutable that runs script available at "https://deno.land/std/http/file_server.ts".