I tried npm installed command on windows, but no such error. tested on v0.6.6
On Mon, Jun 4, 2012 at 3:00 PM, Angel Java Lopez <ajlopez2...@gmail.com>wrote: > One comment: > > Ronnie, I'm an old programmer, I used to program in mainframes, punched > cards, minicomputers, some old Unix, even Xenix ;-)... but the last two > decades, my career was in Windows. > > One thing a Windows developer like me, found a bit not explicit stated > (maybe I wrong, but...) is that npm can be (and usually is) invoked AT A > WORKING FOLDER. Your .msi installation should add the node path to your > PATH. If not, I highly recommended to add it. > > Then, you can enter: > > cd \myusualdevfolder > mkdir mytest > cd mytest > npm install nodeunit > > then, in your mytest folder, you will have a node_modules folder, with > nodeunit subfolder. > > Can you run npm in this way, and install something not in your system, > like nodeunit? > > (or try npm install simplemvc (my project ;-)) > > I see that you are trying to run > > npm install .... > > from the npm directory. Hmmm... It's not the usual way. > > Please, can you do the above steps? have node installation folder in your > PATH? > > Angel "Java" Lopez > http://www.ajlopez.com > http://twitter.com/ajlopez > > On Mon, Jun 4, 2012 at 6:19 AM, Srirangan <sriran...@gmail.com> wrote: > >> I see this occasionally on Ubuntu. Just re-run the command. >> >> Srirangan | +91 9711 477 595 | About <http://srirangan.net/about> >> GitHub <https://github.com/Srirangan> >> LinkedIn<http://www.linkedin.com/in/srirangan> >> Twitter <http://twitter.com/srirangan> | Review19<http://review19.com> >> "Collaborate >> & Track Decisions" >> >> >> >> On Mon, Jun 4, 2012 at 2:48 PM, Ronnie <ankur...@tcs.com> wrote: >> >>> I ran the npm install commnad and got the following exception: >>> >>> npm http GET https://github.com/isaacs/ronnjs/tarball/master >>> npm ERR! failed to fetch https://github.com/isaacs/ronnjs/tarball/master >>> >>> npm ERR! Error: getaddrinfo ENOENT >>> npm ERR! at errnoException (dns.js:31:11) >>> npm ERR! at Object.onanswer [as oncomplete] (dns.js:140:16) >>> npm ERR! You may report this log at: >>> npm ERR! <http://github.com/isaacs/npm/issues> >>> npm ERR! or email it to: >>> npm ERR! <n...@googlegroups.com> >>> npm ERR! >>> npm ERR! System Windows_NT 5.1.2600 >>> npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program >>> Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "instal >>> npm ERR! cwd C:\Program Files\nodejs\node_modules\npm >>> npm ERR! node -v v0.6.18 >>> npm ERR! npm -v 1.1.21 >>> npm ERR! syscall getaddrinfo >>> npm ERR! code ENOTFOUND >>> npm ERR! message getaddrinfo ENOENT >>> npm ERR! errno {} >>> npm ERR! >>> npm ERR! Additional logging details can be found in: >>> npm ERR! C:\Program Files\nodejs\node_modules\npm\npm-debug.log >>> npm not ok >>> >>> What is the problem? >>> >>> Please help on this regard! >>> >>> On Jun 4, 1:28 pm, Ronnie <ankur...@tcs.com> wrote: >>> > Thanks , can you guide me on this. >>> > >>> > I have installednode-v0.6.18.msi exe and thenodehas been installed >>> > in >>> > >>> > C:\Program Files\nodejs . >>> > >>> > What next ? >>> > >>> > How to run the npm install command? >>> > >>> > Plese guide. >>> > >>> > Hello world is running. >>> > >>> > On Jun 4, 1:19 pm, yogesh agrawal <saggiyog...@gmail.com> wrote: >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > > multipart module is not in node_modules. >>> > >>> > > install it by using npm install command >>> > >>> > > On Mon, Jun 4, 2012 at 1:46 PM, Ronnie <ankur...@tcs.com> wrote: >>> > > > Hi, >>> > >>> > > > I am successfull in running the hello world app. >>> > >>> > > > Now I am trying to run some other app and getting the following >>> > > > error . >>> > >>> > > > module.js:337 >>> > > > thrownewError("Cannot find module '" + request + "'"); >>> > > > ^ >>> > > > Error: Cannot find module 'multipart' >>> > > > at Function._resolveFilename (module.js:337:11) >>> > > > at Function._load (module.js:279:25) >>> > > > at Module.require (module.js:359:17) >>> > > > at require (module.js:375:17) >>> > > > at Object.<anonymous> (C:\upload.js:2:17) >>> > > > at Module._compile (module.js:446:26) >>> > > > at Object..js (module.js:464:10) >>> > > > at Module.load (module.js:353:31) >>> > > > at Function._load (module.js:311:12) >>> > > > at Array.0 (module.js:484:10) >>> > >>> > > > Please help in this regard! >>> > >>> > > > Thanks in advance. >>> > >>> > > > On Jun 4, 11:49 am, Ronnie <ankur...@tcs.com> wrote: >>> > > > > Hi , >>> > > > > I am verynewinnodejs . I have installednode-v0.6.18.msi in my >>> > > > > local windows machine. >>> > >>> > > > > I am unabl eto run a hello world program. >>> > >>> > > > > Could you please help me in this respect! >>> > >>> > > > > Thanks in advance. >>> > >>> > > > -- >>> > > > 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 nodejs@googlegroups.com >>> > > > To unsubscribe from this group, send email to >>> > > > nodejs+unsubscr...@googlegroups.com >>> > > > For more options, visit this group at >>> > > >http://groups.google.com/group/nodejs?hl=en?hl=en >>> > >>> > > -- >>> > > Yogesh Agrawal >>> > > +91-9351507770 >>> >>> -- >>> 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 nodejs@googlegroups.com >>> To unsubscribe from this group, send email to >>> nodejs+unsubscr...@googlegroups.com >>> 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 nodejs@googlegroups.com >> To unsubscribe from this group, send email to >> nodejs+unsubscr...@googlegroups.com >> 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 nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Yogesh Agrawal +91-9351507770 -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en