Skip to content

node-windows Local Installation #302

Discussion options

You must be logged in to vote

The primary reason for recommending a global installation is to prevent duplicate artifacts/module bloat. The library contains the winsw binary, so every time npm install node-windows runs, another copy is made. Additionally, a global node-windows update will impact all daemons simultaneously, instead of having to update each project individually. This can be a benefit if you run many background processes on a single server.

It's perfectly fine to use local installations if your use case warrants it. The main consideration is making sure to specify absolute paths for the script configuration attribute... which is no different than using node-windows globally.

Another possibility is to ins…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@simranjeevchawla
Comment options

Answer selected by simranjeevchawla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants