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

pm2 start issue #80

Open
Ravi-exe opened this issue Apr 21, 2023 · 3 comments
Open

pm2 start issue #80

Ravi-exe opened this issue Apr 21, 2023 · 3 comments

Comments

@Ravi-exe
Copy link

OS => windows server 2019 ( any windows OS will give this same problem)

Step 1 => Formatted my computer. installed new OS.
Step 2 => Downloaded pm2-installer file. extract it and run the command.
everything working fine.

but when try to repeat this step on virtual box or vmware (any virtual machine )
pm2 start script failed (same OS used )

might be because of =>

pm2-service: 4/21/2023, 2:16:29 PM service\index.js Uncaught Exception connect EPERM //./pipe/pub.sock Error: connect EPERM //./pipe/pub.sock
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
pm2-service: exit code 1

here are the whole error list =>

ERROR: 2023-04-21T14:11:41: PM2 error: Error: spawn node ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
ERROR: 2023-04-21T14:11:41: PM2 error: Error caught while calling pidusage
ERROR: 2023-04-21T14:11:41: PM2 error: TypeError: One of the pids provided is invalid
4/21/2023, 2:11:41 PM: default/index@N/A - start - MANUAL
4/21/2023, 2:11:41 PM: default/index@N/A - online - AUTOMATED
ERROR: 2023-04-21T14:11:44: PM2 error: Error caught while calling pidusage
ERROR: 2023-04-21T14:11:44: PM2 error: TypeError: One of the pids provided is invalid
ERROR: 2023-04-21T14:11:45: PM2 error: Error caught while calling pidusage
ERROR: 2023-04-21T14:11:45: PM2 error: TypeError: One of the pids provided is invalid
ERROR: 2023-04-21T14:12:06: PM2 error: Error caught while calling pidusage
ERROR: 2023-04-21T14:12:06: PM2 error: TypeError: One of the pids provided is invalid
ERROR: 2023-04-21T14:12:15: PM2 error: Error caught while calling pidusage
ERROR: 2023-04-21T14:12:15: PM2 error: TypeError: One of the pids provided is invalid
ERROR: 2023-04-21T14:12:36: PM2 error: Error caught while calling pidusage
ERROR: 2023-04-21T14:12:36: PM2 error: TypeError: One of the pids provided is invalid
ERROR: 2023-04-21T14:12:45: PM2 error: Error caught while calling pidusage
ERROR: 2023-04-21T14:12:45: PM2 error: TypeError: One of the pids provided is invalid
ERROR: 2023-04-21T14:12:52: PM2 error: Error caught while calling pidusage
ERROR: 2023-04-21T14:12:52: PM2 error: TypeError: One of the pids provided is invalid

[pm2-service-log.lo
pm2.err.log
pm2.out.log
pm2.wrapper.log
g](https://github.com/jessety/pm2-installer/files/11294153/pm2-service-log.log)

@Ravi-exe
Copy link
Author

I want to know if same offline setup bundle can be work on two different window os ( like window 10 to windows server 2019 ). let me know if you want some addition info about this error

@Choppel
Copy link

Choppel commented Apr 26, 2023

@ShuklaRavi22
I had the same error.
Please see #76 (comment)
Maybe it helps.

@dlscott12
Copy link

@ShuklaRavi22

I had the same problem today. See my comment on #76

Hope this helps.

;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants