I'm trying to convert my nodeJS project (command line program) into one EXE file, so I can transfer it to other computers and launch. In order to make it real I use pkg (https://github.com/zeit/pkg).
My project should work like: start command line -> output a question for user -> user types an answer -> program does some stuff and outputs results in the command line.
When I try to launch it via "node command.js start" - everything works fine on my computer.
When I try to use "pkg command.js" - command-win.exe is created, but if I launch it on my computer via command line nothing happens:
Where I made a mistake? What I missed?
And what additional information do you need for help me?
Remark: other computers which I want to start this program on, won't have any nodeJS and other installations. I need just an EXE file that starts command line and executes my program.