• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved node.js pm2 not found

Qusay

Basic Pleskian
Server operating system version
Debian 10
Plesk version and microupdate number
18.0.51
npm start in node.js app

> [email protected] start
> pm2 start src/index.js --name=dayz-leaderboard-bot

sh: 1: pm2: not found

Screenshot 2023-04-18 at 00-29-41 Node.js on test.golden-squad.com - Plesk Obsidian 18.0.51.png
 
Sounds like it's either not installed or not setup globally. Fire up terminal and run;

sudo npm install -g pm2
 
Sounds like it's either not installed or not setup globally. Fire up terminal and run;

sudo npm install -g pm2
but im already install node.js with npm
and it's work see
it's work fine under node.js
and other
 

Attachments

  • Screenshot 2023-04-18 at 00-40-32 SSH Terminal root - Plesk Obsidian 18.0.51.png
    Screenshot 2023-04-18 at 00-40-32 SSH Terminal root - Plesk Obsidian 18.0.51.png
    15.1 KB · Views: 12
/opt/plesk/node/19/bin/npm install -g pm2
it's fixed from support help
 

Attachments

  • Screenshot 2023-04-18 at 01-32-15 Submit a request – Plesk.png
    Screenshot 2023-04-18 at 01-32-15 Submit a request – Plesk.png
    12.7 KB · Views: 29
Back
Top