jfromaniello / winser

Run a node.js application as a window service using nssm.
270 stars 47 forks source link

Nssm critical issue in windows creators update #46

Open pofider opened 7 years ago

pofider commented 7 years ago

The nssm doesn't work in the latest Windows creators update. The workaround mentioned on the nssm web is to use the pre-release. This worked for me.

https://nssm.cc/download

2017-04-26: Users of Windows 10 Creators Update should use prelease build 2.2.4-101 to avoid an issue with services failing to start. If for some reason you cannot use that build you can also set AppNoConsole=1 in the registry, noting that applications which expect a console window may behave unexpectedly.

I'm not sure if you want to put the nssm pre-release to this package right now. I mainly wanted to inform the others that winser currently won't work with the latest windows and the mentioned workaround is required.

Thank you for your work on this package, I enjoy using it.

kanreisa commented 7 years ago

I opened PR but no response. https://github.com/jfromaniello/winser/pull/45

You can use this (Windows 10 RS2 supported) https://www.npmjs.com/package/@kanreisa/winser