• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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: 15
/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: 45
Back
Top