You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure the environment is available to PM2If you're running pm2 in a Docker container, via pm2-runtime, or as a systemd service, make sure the environment variables and $PATH are properly set.
If using NVM, add this at the top of your Dockerfile or shell profile:
export NVM_DIR="$HOME/.nvm"
[ -s"$NVM_DIR/nvm.sh" ] &&\."$NVM_DIR/nvm.sh"
nvm use 19
Or just point to the Node path directly.
Try Node from NVM in Docker/PM2 RuntimeIf you're using NVM inside a Docker container, it's often easier to just install Node using curl or system binaries inside the container to avoid NVM quirks in non-interactive shells.
No description provided.
The text was updated successfully, but these errors were encountered: