Report this

What is the reason for this report?

Making Node.js from source, unable to use node

Posted on March 17, 2014

I’ve tried installing Node.js using the following instructions:

cd /opt

wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz

cd node-v0.10.26

./configure

make

make install

However, once the installation has completed (and with no errors at that), I’m unable to run “node --version”. I’m currently running on Ubuntu 13.10 x64 and have tried multiple ways to install Node.js that all result in the same issue. Could it be a PATH issue, or something else? I’m new to Node.js, and would love to learn any tips or tricks that you may have.

Thanks in advance!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Make sure the path where you installed it is in your $PATH (typically /usr/local) with the following command: <br> <br>echo $PATH <br> <br>If you are unsure, uninstall it: <br> <br>make uninstall <br> <br>and follow these instructions: <br> <br> <br>https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#build-from-source

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.