You may need to ensure that the nodejs-legacy
module is installed. If pm2
is depending on the executable named node
, that will fail when the system installs it globally as nodejs
as some Linux systems (Ubuntu, Debian) often do.
↧
Answer by Sam Mikes for npm global install on elastic beanstalk
↧