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.
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!
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.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.