Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows and PM2 support #251

Closed
markosole opened this issue Nov 5, 2022 · 1 comment
Closed

Windows and PM2 support #251

markosole opened this issue Nov 5, 2022 · 1 comment
Labels

Comments

@markosole
Copy link

markosole commented Nov 5, 2022

Describe the bug
I am running Node 16 and app that is running with PM2. Problem is that it can't grab screenshot when app is started with PM2. I am trying to run it as a windows service and have tried node-windows as well. Everything works fine when I run it as node myApp.js.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Environment (please complete the following information):

  • OS: Windows 10/11
  • Engine: Node
  • Version 16

Have anyone experienced anything like that and managed to find solution?

NOTE: When used with forever module like: forever start app.js then works fine.

@markosole markosole added the bug label Nov 5, 2022
@bencevans
Copy link
Owner

We've researched into this a bit previously, thread at #185. It's due to the limitations placed by Windows when a process runs as a Service. If you can find a solution, it would be great to share it on #185.

@bencevans bencevans closed this as not planned Won't fix, can't repro, duplicate, stale Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants