DenoDDeno
Powered by
Inplex-sysI
Denoβ€’3y agoβ€’
3 replies
Inplex-sys

"deno compile --no-terminal" is not working

I'm trying to compile a very simple file named main.ts
await Deno.writeTextFile('test.txt', 'Hello World');
await Deno.writeTextFile('test.txt', 'Hello World');


The problem is that after compiling and running the executable, it's doesn't work, it's showing nothing, but it doesn't work,
but when i try to run the binary from a terminal it work.

PS> deno compile --no-terminal -A main.ts
PS> deno compile --no-terminal -A main.ts

Version:
v8 12.1.285.6
typescript 5.3.3
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Deno compile with "--no-terminal" don't work
Inplex-sysIInplex-sys / help
3y ago
deno compile -A npm:cowsay not working
dsm23Ddsm23 / help
3y ago
`deno compile` executable not working with cross-platforms
Essa-ZuberiEEssa-Zuberi / help
17mo ago
deno compile optimizations
subbedSsubbed / help
14mo ago