I’m running my app with pm2. It seems to be working fine locally. However, when deployed on Digitalocean, I get a bunch of error messages as shown below. Could you please? I couldn’t find anything after hours of research regarding this issue.
[wix-root-config] [2022-06-06 20:34:12] yarn run v1.22.18
[wix-root-config] [2022-06-06 20:34:12] warning package.json: No license field
[wix-root-config] [2022-06-06 20:34:12] $ pm2-runtime start ecosystem.config.js --env production
[wix-root-config] [2022-06-06 20:34:13] 2022-06-06T20:34:13: PM2 log: Launching in no daemon mode
[wix-root-config] [2022-06-06 20:34:13] 2022-06-06T20:34:13: PM2 log: App [Wix Server:0] starting in -cluster mode-
[wix-root-config] [2022-06-06 20:34:13] 2022-06-06T20:34:13: PM2 log: App [Wix Server:0] online
[wix-root-config] [2022-06-06 20:34:14] {"level":"info","message":"Listening on 8080"}
[wix-root-config] [2022-06-06 20:34:19] 2022-06-06T20:34:19: PM2 error: Error caught while calling pidusage
[wix-root-config] [2022-06-06 20:34:19] 2022-06-06T20:34:19: PM2 error: Error: ESPIPE: invalid seek, read
[wix-root-config] [2022-06-06 20:34:21] 2022-06-06T20:34:21: PM2 error: Error caught while calling pidusage
[wix-root-config] [2022-06-06 20:34:21] 2022-06-06T20:34:21: PM2 error: Error: ESPIPE: invalid seek, read
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
This comment has been deleted
Did you solve this? I’m seeing the same error messages.
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now
Hello,
Are you deploying this on the DigitalOcean App Platform? If so I could suggest trying out the following solution here:
https://github.com/Unitech/pm2/issues/4360#issuecomment-738100628
I believe that people have reported that this solves the specific error.
Let me know how it goes.
Best,
Bobby