bash: pm2: command not found
问题 I can't run pm2 on ubuntu box. I'm not sure what's the problem. The pm2 is installed globally. npm list -g --depth=0 /opt/nodejs/lib ├── forever@0.15.3 ├── node-gyp@3.4.0 ├── npm@2.15.9 ├── pm2@2.1.5 ├── userdown@0.2.1 └── wait-for-mongo@0.2.0 But I still get pm2 -bash: pm2: command not found if I run other app userdown Starting Script is not provided versions node v4.5.0 npm v2.15.9 log from installation: sudo npm install pm2 -g npm WARN optional dep failed, continuing fsevents@1.0.15 /opt