Convert to exe
I have made my Javascript program into an exe with deno: https://docs.deno.com/runtime/manual/tools/compiler
I use inquirer in my program. However, when I turn the program into an exe, I can no longer navigate in the console with the arrow keys. Generally, I can no longer write anything in the console. Can someone help me.
Compiling Executables | Deno Docs
deno compile [--output ] will compile the script into a
1 Reply
I wasn't able to find the answer to your question in the official Deno documentation. However, based on the information you've provided, it seems like there might be an issue with the way the executable is interacting with the console environment.
Since you're using Inquirer, which is a module that typically works in a Node.js environment, it's important to ensure that it's compatible with Deno and that you're using a Deno-compatible version of Inquirer. If you're using a version of Inquirer that's meant for Node.js, it might not work correctly when compiled into an executable with Deno.
Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of the advice given. Make sure that any third-party modules you use are fully compatible with Deno, and consider looking for any known issues with Inquirer (or its Deno equivalent) when used in a compiled Deno executable.