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
Post a Comment