Node app created by enclose module getting shuts down on idle in production mode
Asked Answered
M

0

0

I am working with a node.js application whose .exe has been made using Enclose module, although it is working fine, only problem is that the application automatically shuts down after 10 minutes opening if left idle, no interaction with it.

  • Is it because of "Process working time" and "Network connections" are Limited in the free version?
  • Will the app run continuously without shutting down if i subscribe to the full version?
  • Will this issue be permanently fixed for the exe builds created with the paid version, or will the exe work fine only till my subscription ends?

What should I do to resolve this. OR if I have to choose any other module to launch node application for production then which module should I choose?

Can anyone who has used Enclose module of node js resolves this problem?

Thank you!

Montserrat answered 2/1, 2017 at 11:45 Comment(11)
to be honest, if Your app makes money, it's not a problem to pay 100$ per year. but I agree that if You've done some great job why You should pay? so You've 3 ways: 1) rewrite using some nodejs framework (example: electron), 2) create desktop app with web view component and communicate with nodejs app that runs in bg (by executing node app.js), 3) create some little executable that will run nodejs app and open browser. You can keep app up and running using pm2, forever but it makes more headaches than just paying some amount and demanding for perfect service from enclosejs creators (:Tar
have You checked this? npmjs.com/package/nexe or this: npmjs.com/package/node-compileTar
Yes i have checked nexe. it makes a bulky build and getting issues with native modules. so I rejected that.Montserrat
Can I run pm2 command pragmatically, like on click of exe command of pm2 start will run ?Montserrat
if You think to make enclosed app to keep running - You cannot. cuz app will shut down and re-run again that is not good for UXTar
seems like You've only one way: pay for enclosejs for 1 one month and if everything will go well, so pay for another month and so on...Tar
ok thanks for your help but i will keep looking for another solution and also try if I can run the PM2 pragmatically.Montserrat
sorry that I didn't gave exceptional answer. I'm don't like to make desktop apps using nodejs without proper desktop framework. wish You to find good solution.Tar
Let us continue this discussion in chat.Montserrat
I have purchased enclose js paid version, now it is working fine .Montserrat
Oh that business world. Makes people waste money (:Tar

© 2022 - 2024 — McMap. All rights reserved.