issue with install guide

I tried going through the install guide on completely stock ubuntu 24.04 w/ pterodactyl and the dependencies commands failed on the npm line saying there wasn't npm, did I do something wrong?
4 Replies
Zeph
ZephOP6d ago
I did apt install npm which worked but guide might need updating, also npm i -g yarn needed sudo when I did it same with yarn install oh maybe the sudo issues were because I installed ptero as root
OptimiDev
OptimiDev6d ago
:heaviersob:
DarkDeception
DarkDeception6d ago
I always used sudo to install whatever, don't see the problem with sudo (if it aint broke dont fix it as they say)
Loki
Loki6d ago
sudo doesn't preserve a whole lot of your environment by default. Try logging in as root and preserving a lot of your environment with the -i flag. See if npm is in your path after that.
sudo -i
sudo -i
No description

Did you find this page helpful?