The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Issue Installing NodeJS

Discussion in 'General Discussion' started by Jerba, Aug 29, 2015.

  1. Jerba

    Jerba Registered

    Joined:
    Aug 29, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    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
     
    #1 Jerba, Aug 29, 2015
    Last edited by a moderator: Aug 29, 2015
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page