NodeJS on Linaro Ubuntu 12.04 Hangs

Discussion in 'Application & Utilities' started by yaru22, Dec 15, 2013.

  1. yaru22

    yaru22 New Member

    Joined:
    Dec 15, 2013
    Messages:
    1
    Likes Received:
    0
    Hello,

    I just received Udoo Quad and installed Linaro Ubuntu 12.04 using SD image following http://www.udoo.org/getting-started/creating-a-bootable-micro-sd-card-from-image/.

    And I installed NodeJS from the source code (http://nodejs.org/dist/v0.10.23/node-v0.10.23.tar.gz) as follows.

    Code:
    $ wget -c http://nodejs.org/dist/v0.10.23/node-v0.10.23.tar.gz
    $ tar xvf node-v0.10.23.tar.gz
    $ cd node-v0.10.23
    $ ./configure --without-snapshot  # as suggested by phuh in another thread
    $ make
    $ sudo make install
    
    Once it's installed, I tried to run a simple helloWorld example that just does console.log('hello world');
    Code:
    $ node ./helloWorld.js
    
    However, it just hangs there. Also, if I try to check npm's version by
    Code:
    npm --version
    , it hangs as well.

    Does anybody have the same problem and know how to resolve this issue?

    I've read phuh's thread http://www.udoo.org/forum/viewtopic.php?f=27&t=158. However, he has installed it on Linaro Ubuntu 11.10 so I wonder if there are some differences between 11.10 and 12.04 that cause the problem.

    Thanks.
     
  2. francescomm

    francescomm Member

    Joined:
    Dec 14, 2013
    Messages:
    80
    Likes Received:
    4
    I have node and node-udoo running on 12.04 fine, so that is not the problem. Not sure if I built it on the UDOO or downloaded precompiled binaries. I have a QUAD with Linaro 12.04.
     
  3. jornare

    jornare New Member

    Joined:
    Apr 16, 2014
    Messages:
    1
    Likes Received:
    0
    I'm having the same problem, using nodejs v0.10.25. Did you figure out an answer or did you find another way?
    I installed mine from source like described above.
     
  4. TomFreudenberg

    TomFreudenberg Member

    Joined:
    May 12, 2014
    Messages:
    59
    Likes Received:
    2

Share This Page