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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -