5 Comments on Install Node.js On Your Shared Account

  1. Chris Brown says:

    Thanks so much for this guide.

    I just wanted to add some instructions on how to upgrade node.js to the current stable version:
    npm cache clean -f
    npm install -g n

    Use the current stable version:
    n stable

    Or specify the desired version (0.10.21 for example):
    n 0.10.21

    Verify node version:
    node -v

    • Noah S says:

      Hi Chris,

      Thank you for the information. Unfortunately that is not available on our shared plans but can be used on our VPS and Dedicated Servers.

      Regards.

  2. JuserNt says:

    Great!
    Good tutorial, followed the steps, now I have node.js my hosting

    thank you

  3. kim says:

    I installed node complete on my hosting site. node -v is v0.10.33

    I am noticing a problem with running the program though?
    Locally: node server.js runs the program

    But for the hosting site I can’t run it without error:
    js-bson: Failed to load c++ bson extension, using pure JS version
    The magic happens on port 8080

    events.js:72
    throw er; // Unhandled ‘error’ event
    ^
    Error: listen EADDRINUSE
    at errnoException (net.js:904:11)
    at Server._listen2 (net.js:1042:14)
    at listen (net.js:1064:10)
    at Server.listen (net.js:1138:5)
    at Function.app.listen (/home/user0001/public_html/node_modules/express/lib/application.js:531:24)
    at Object. (/home/user0001/public_html/server.js:42:5)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

Leave a Reply

Your email address will not be published. Required fields are marked *


× 6 = 6

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>