node.js - How to package NodeJs project into an executable with zeit/pkg npm package? -


i trying make executable of node app https://github.com/zeit/pkg npm package. tried not able understand given document or i'm doing wrong.

after installing command 'npm install -g pkg' have put entry point in package.json file like:

"bin": "app.js" 

i'm running cmnd:

pkg . 

after i'll executable file can run. tried running file creates proj_name-win on windows it's not working. can explain me steps make executable , i'm doing wrong?


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -