I’ve been running Node under Windows XP using Cygwin and decided to update from 0.2.6 to 0.4.1 today.
I followed the same steps as used for my first install using the Node instructions.
However when trying to clone the repository and perform other steps I got a number of errors ranging from complier config to unable to clone as the destination node directory was not empty.
I did try and remove the old build files using $ git clean -f -d -x which did not help.
In the end I did this (I’m running under Admin user on my local dev machine):
1. Made sure correct Unix style path was being used with
export SHELL=/bin/bash
2. Renamed Node install directory C:\cygwin\home\Admin\node to C:\cygwin\home\Admin\node-old in case I needed to back-out.
3. Repeated Node instructions using Node version 0.4.1 ($ git checkout v0.4.1).
4. When completed, confirmed Node version using: $ node -v
5. Deleted C:\cygwin\home\Admin\node-old directory
So now I’m running on the latest version and my existing Node apps seem happy with 0.4.1 as well.