10 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

  2. JuserNt says:

    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

    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)

  4. Steve Breese says:

    Could you provide sample code on how to make a “Hello, world” application? I’d like one of my directories of my website to be a node.js application.

  5. Alex says:

    WARNING: node.js cannot be installed on your shared account using these steps. This document needs updating. I get an error at this step: rpm -qa | grep bzip2-devel. Support said I could skip this step, so I did.

    I am now getting an error at this step and support has not gotten back to me:
    ./configure –prefix=$HOME –with-threads –enable-shared

Leave a Reply

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