jfromaniello / winser

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

Can't work with enclosejs #38

Open getmeaway opened 9 years ago

getmeaway commented 9 years ago

hi, winser run well with my nodejs app (i run "node server.js") but when i package my app with enclosejs into an .exe file, winser is not running well. It searchs for the package.json file and it can not find it cause i have only an exe file. Is there a way to work around this problem??

baconbrad commented 8 years ago

No, you need to run the .exe as a service without winser. https://stackoverflow.com/questions/3582108/create-windows-service-from-executable