Comments (2)
Not sure if this is related to PM2. I see the PM2 report states NodeJS 20 and the ?? operator is available since NodeJS 14 so not sure what goes wrong here. This is mostly related to your code. Does it run fine by running it manually rather than through PM2?
from pm2.
In my case, the issue was undefined environment variables.
I created the ecosystem.config.js file as instructed in the documentation ((https://pm2.keymetrics.io/docs/usage/application-declaration/)) and configured the environment variables as required (https://pm2.keymetrics.io/docs/usage/environment/).
With this setup, my application is working. I am currently checking with the hosting team regarding the ports
from pm2.
Related Issues (20)
- `pm2 show` should display exp_backoff_restart_delay value if specified
- [RFC] - What can be the pros and cons if we use the PM2 with the node apps in Openshift and Kubernetes
- pm2 : Script /usr/bin/java had too many unstable restarts (16). Stopped. "errored"
- pm2 start app returning 502
- How to implement cross server application management in PM2 HOT 2
- Hot Code Swap HOT 1
- Process list incomplete after reboot HOT 6
- Simultaneous Deployments
- One-time process enqueue
- Monitor the exit of child processes
- Allow ecosystem config to be in TypeScript
- PM2 I/O is not linking
- Help and report commands don't work until the daemon starts
- PM2 error: TypeError: One of the pids provided is invalid
- watch for changes is only on a folder level. we need to watch a file.
- Port address already in use error. HOT 2
- pm2 can't install at andorid Termux?
- pm2 to crashing down
- Cluster mode not working with yarn PnP + Express HOT 1
- Clustering not working with Bun HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pm2.