Sk123, Install node using the windows installer msi. It will install node and npm. http://nodejs.org/dist/v0.6.10/node-v0.6.10.msi
Run npm from the command line directly, not in the node repl. On Wed, Feb 15, 2012 at 11:24, Angel Java Lopez <[email protected]> wrote: > Usually, at your program files folder inside a nodejs folder. > > Maybe you should add that folder to your path. Some weeks ago, I tried a > Windows installer, and the path was not modified to point to that directory > after installation, but I don't sure. > > BTW, I had a problem with that installation: it broke my Ruby on Rails > applications that use ExtJs, ExtJs tried to use a javascript engine, and it > find NodeJs, but ExtJs didn't support spaces in the full path to node. > > > 2012/2/15 sk123 <[email protected]> >> >> Hi, >> >> Thanks for the quick reply. I did try that too but I was not able to >> find npm.exe. So I was not sure what to do. >> >> Where can I find this npm.exe? Is it supposed to be installed with >> NodeJs? >> >> Thanks! >> >> On Feb 14, 5:39 pm, Дмитрий Лукичёв <[email protected]> wrote: >> > You should run 'npm.exe' instead of 'node.exe' cause 'npm' is not a >> > nodejs' command, but a separate package. >> > >> > On Feb 15, 3:00 am, sk123 <[email protected]> wrote: >> > >> > >> > >> > >> > >> > >> > >> > > OS - Windows 7 >> > >> > > Steps >> > > 1. Downloaded the latest version of NodeJs which is supposed to have >> > > npm by default. >> > > 2. Ran node.exe >> > > 3. Gave command as npm and I see >> > > ReferenceError: npm is not defined >> > > at repl:1:2 >> > > at REPLServer.eval (repl.js:80:21) >> > > at Interface.<anonymous> (repl.js:182:12) >> > > at Interface.emit (events.js:67:17) >> > > at Interface._onLine (readline.js:162:10) >> > > at Interface._line (readline.js:426:8) >> > > at Interface._ttyWrite (readline.js:603:14) >> > > at ReadStream.<anonymous> (readline.js:82:12) >> > > at ReadStream.emit (events.js:88:20) >> > > at ReadStream._emitKey (tty.js:327:10) >> > > 4. Tried giving an npm install command ...I just see "..." on the >> > > console and nothing happens >> > >> > > I am new to both nodejs and npm. Any help will be greatly appreciated. >> > >> > > Thanks! >> >> -- >> 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 > > > -- > 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 -- 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
