Question

[PM2][ERROR] Process or Namespace hello not found

I am going through the initial guide for node.js. This is how it goes in the middle of the tutorial/setup/guide.

SSH into your Droplet and modify this script at /var/www/html/hello.js and see the results live by calling pm2 restart hello
Run pm2 list to see code scheduled to start at boot time
Run pm2 delete hello to stop running this script and pm2 save to stop it from running on Droplet boot

I keep getting the error

[PM2][ERROR] Process or Namespace hello not found

Really confused if it’s an error on my part or the droplet.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Better off following this as tutorial.

https://marketplace.digitalocean.com/apps/nodejs

Bobby Iliev
Site Moderator
Site Moderator badge
May 15, 2022

Hi there,

In addition to using the Node.js Marketplace 1-Click installation, you can also follow the instructions from this video here too:

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.