Questions tagged [node-pkg]

pkg is command line interface that enables packaging a Node.js project into a platform specific executable that can be run even on devices without Node.js installed.

Can be used from task runners to build an executable of your application.

More info: https://www.npmjs.com/package/pkg

1 questions
1
vote
1 answer

Where do compiled NodeJs apps read the dotenv file from at execute time?

I am writing a commanderjs app, that uses dotenv. The app is that is compiled using pkg . I have compiled the app for linux and moved the binary to /usr/local/bin, for it to be available on my PATH. I am running the app from a shell script in…
StuperUser
  • 10,555
  • 13
  • 78
  • 137