it seems that install fails mainly cause fsevents not supported, this my shell responses
npm install -g pm2 ... npm WARN optional Skipping failed optional dependency /forever/chokidar/fsevents npm WARN notsup Not compatible with your operating system or architecture: [email protected]
then pm2 (the same thing happens with nodemon or forever) does not work at all.
if i try to install fsevents only this is what i got:
sudo npm install -g fsevents npm ERR! Linux 4.1.13-v7+ npm ERR! argv "/opt/nodejs/bin/node" "/usr/bin/npm" "install" "-g" "fsevents" npm ERR! node v5.7.0 npm ERR! npm v3.6.0 npm ERR! code EBADPLATFORM npm ERR! notsup Not compatible with your operating system or architecture: [email protected] npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: linux npm ERR! notsup Actual Arch: arm
maybe should i wait till fsevents compatibility?