20 February 2011

NodeJS 0.4 + npm 0.3.1 on Windows the easy way

Getting node JS on Windows is nothing very hard but you have to compile it using MingW or in Cygwin environment. The guys from node-js.prcn.co.cc were making it much easier creating the bundle that is easy to use: just download, unpack & run.

Because I use node JS everyday and wanted to have 0.4 on board I've created own bundle. The bundle is based on their great work but except the run scripts it is build from scratch (newer npm, newer cygwin libs, added bash etc.). You can grab it from my Node JS on Windows page. Please read instructions about using npm.

5 komentarze:

  1. Hi Rafal,

    I'm having a lot of problems with your last bundle and npm.


    See the output here:

    http://goo.gl/URH2Y

    Have you got any idea about what's going on ?
    (I also tried with express, stylus, etc.)

    ReplyDelete
  2. Have you used shell.cmd to start the console? It looks that it does not see gzip.exe.

    The less installed for me just fine in a clean 0.4.1 download from my site. My output:

    http://kib2.alwaysdata.net/pastebin/view_paste.php?id=137

    ReplyDelete
  3. You're right Rafal, sorry for the noise.
    I was using it the way prcn.co.cc told us with my own console.
    Using shell.cmd is fine now.

    ReplyDelete
  4. Hey, I tried to use NPM fromth shell and i get "..." after. Looked for some instructions but cant find anything about how to use npm, with your packaging...


    gedw99@gmail.com

    ReplyDelete
  5. Go to bin folder and run shell.cmd. Then node npm install

    ReplyDelete