"(sudo) make" dumps core on Ubuntu 12.04 64-bit
swgillespie opened this issue · 3 comments
First off, I want to say thank you for this awesome resource. I'm just getting started with nodejs and this repo has been a huge help along the way.
However, I am having trouble building this project; the makefile dumps core and aborts before installing the github dependencies. Here is what I have been doing to reproduce the core dump that I am experiencing:
git clone https://github.com/gravityonmars/nodejs-starter.git nodejs-starter-test
cd nodejs-starter-test
sudo make &> output.txt
I posted the content of my output.txt here: https://gist.github.com/swgillespie/6742914/raw/7b48b24d0a8deb654d35cd3e5b2de928049b115d/gistfile1.txt .
Is anybody else having this issue? It seems weird that it is node itself that is failing an assertion and core dumping.
Other relevant things:
$ npm version
{ http_parser: '1.0',
node: '0.11.6-pre',
v8: '3.20.14.1',
uv: '0.11.7',
zlib: '1.2.3',
modules: '0x000C',
openssl: '1.0.1e',
npm: '1.3.8',
'nodejs-starter': '0.0.1' }
$ uname -a
Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I see you are using a nodejs version that is not considered stable at the moment.
Current official stable version is v0.10.19
@swgillespie Could you retry with that?
Thanks for the report!
Thanks for the response! I ran
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs=0.10.19-1chl1~raring1
sudo mv `which nodejs` `which node` # wtf apt-get???
git clone https://github.com/gravityonmars/nodejs-starter.git nodejs-starter-test
cd nodejs-starter-test/
sudo make
and the build was successful. There is some serious weirdness going on with how npm interacts with node and how apt-get installs node. I think "apt-get install nodejs" installs a binary called "nodejs", and npm and everything else uses the binary "node". Thanks for the help! I'll look into reporting the core dump to node.
Cool! I'm glad it worked! Closing this now.
Thanks!