Jerba

Registered
Aug 29, 2015
1
0
1
United Kingdom
cPanel Access Level
Website Owner
I apologise if this is in the incorrect section of the forum, please feel free to move it accordingly if so.

-

I'm having some trouble installing NodeJS, I'm new to this and as a result am attempting to follow a guide online (outofcontrol.ca/blog/comments/installing-node-bower-and-gulp-on-a-cpanel-box)

I first noticed that there was no 'usr/local/src' directory, but a 'usr/local/share' which I assumed was a shared file between users so I attempted to wget the NodeJS library from there, but unfortunately I ran into some permission issues which I couldn't seem to get around. So, I simply attempted to install NodeJS via the home/public_html directory and it all worked fine until I came to the 'make install' from which I received one error, again regarding permissions:
[Errno13]Permission denied:'/usr/local/include/node/')

I believe it can be fixed by using some form of 'sudo' prefix when attempting to make install, however, I'm incredibly new to this and am not sure how to do so... Also, I'm attempting to do this via SSH.

Thanks for any feedback regarding this...

Jerba
 
Last edited by a moderator:

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

You need to install NodeJS on your server, Without the root user without root access you can not install it on your server. Your access level is listed as "Website Owner", so you will have to contact your web hosting provider to install this.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

Could you verify if you have root access to the server?

Thank you.