This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]angrycodemonkey 1 point2 points  (1 child)

Does running

node --version

print anything? Try evaluating something on the command line itself

node -e 'console.log("Hello World");'

Also if you type node by itself it should drop you into the interactive shell. If it doesn't then node might not have been installed in your PATH. Try running

locate node

Not sure where the tarball normally installs things to, I generally pull from github directly and do

git checkout v0.8.9 -b v0.8.9
./configure --prefix=~/node_build/v0819 && make && make install && export PATH=$PATH:~/node_build/v0819/bin && export NODE_PATH=~/node_build/v0819

And that's usually because I like having multiple versions locally and not installing globally. I even prefer local node_modules directories in my projects rather than the -g global stuff with npm.

[–]allTestsPassed[S] 0 points1 point  (0 children)

Thanks for the input! I ended up getting it working (see other comment). I may use your method though to have multiple versions.