On Dec 30, 2013 3:05 PM, "Reza Razavipour" <[email protected]> wrote: > > I am trying to install node on ` > > CentOS 2.6.31.11-an_centos6-v42 #3 SMP Thu Oct 31 12:17:24 PDT 2013 i686 i686 i386 GNU/Linux > > I download the tar file from nodejs.org. > > tar -xf node-v0.10.23.tar.gz > cd node-v0.10.23 > ./configure > make > > I see node in node-v0.10.23/node pointing to out/Release/node. So node runs and all is well. npm is not working though. Not sure why. > > I only see npm below node-v0.10.23, only in > > ./deps/npm > ./deps/npm/bin/npm > ./tools/msvs/npm > ./doc/blog/npm > > so npm is not working so no npm install. Am I missing a step?
You forgot 'sudo make install'. Then both node and npm will be in your $PATH. If you try to execute npm directly without that, it won't be able to find node. If you really don't want to install it, you'll have to run it like './out/Release/node deps/npm/cli.js' or fix its shebang line for it to work. Note that on CentOS you can just enable EPEL and 'sudo yum install npm' also. :-) -T.C. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
