I'm not sure why you are getting that error. I was able to install the latest version of NodeJS without any issue, which you can get here. All I did was:
wget https://nodejs.org/dist/v0.12.5/node-v0.12.5.tar.gz --no-check-certificate tar xvf node-v0.12.5.tar.gz cd node-v0.12.5 ./configure make make install
The make process does take a long time, around 2.5 hours, however I got no error messages and I'm able to run node.