• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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: 10
/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: 25
Back
Top