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

Deno compile with "--no-terminal" don't work

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 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 --no-terminal" is not working
Inplex-sysIInplex-sys / help
3y ago
Deno compile with SupaBase doesn't work
skyluke83Sskyluke83 / help
14mo ago
Deno compile with --include
carragomCcarragom / help
6mo ago
Problem with Deno's compile
ihermanIiherman / help
6mo ago