#Running NPM on Hostinger
21 messages · Page 1 of 1 (latest)
Surely if you have a VPS then you have SSH access?
Yes I accessed it , but it keeps telling me that the commands are not found , I tried with npm then node then even sudo… and I can auto install a clean project and make it run but I can’t seem to get an existing one going (without npm giving me an issue)
I’m using Putty for SHH (I noticed that some commands would run on putty but won’t if I’m just using the normal CMD) so I’m not sure if the issue is still me not using the right CLI
I’ll specifically try this order in a few hours , I’ll come back with feedback
If commands are not found then npm is probably not installed by default on your VPS. Go ahead and install it.
So what if it’s commands like sudo or apt that’s not found?
apt is only available on debian based operating systems. What are you running?
And its highly unlikely that sudo is not available on a linux based os
Is there a way of me checking so we don’t waste time?
I just made it on Hostinger because it was one of the highly rated places to host Laravel apps .
What do you mean? Just SSH into the machine and check if npm is there. Takes like, 10 seconds, tops.
It'll tell you once you ssh into the server.
If you don't want to take the time to learn basic server management, you should use a service like Ploi or Forge to manage the server for you.
Doesn’t help that it takes like, 6 hours to get a reply to every question either…
i mean the OS type, and npm doesnt seem to exist and im only getting an opportunity to give it attention now
ill drop screenshots
Did you Google “how to find Linux version”?
First result:
cat /etc/os-release
tried it a couple of times
and i have done it a few times, im just not sure what changed now... but im seeing that something is missing with the hostinger
Google. There were a number of different ways to try and find your OS version.