node.jspm2

pm2 commad always stuck at [PM2] Spawning PM2 daemon with pm2_home=/home/$USER/.pm2


I've been following this issue and till now my problem not solved, anyone can help? Any command of pm2 always returned

[PM2] Spawning PM2 daemon with pm2_home=/home/$USER/.pm2

Thanks


Solution

  • I'm installing node using snap, that's why it didn't work, but it's working now if you install manually, cheers.