Johan Steenkamp

month

February 2011

1 post

Updating Node on Windows

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.

Feb 24, 20110 notes
#javascript #nodejs
Next page →
2012 2013
  • January 1
  • February
  • March
  • April
  • May
  • June
  • July
  • August
  • September
  • October
  • November
  • December
2011 2012 2013
  • January 16
  • February 9
  • March 11
  • April 8
  • May 5
  • June 5
  • July 1
  • August
  • September 3
  • October 1
  • November
  • December 2
2011 2012
  • January
  • February 1
  • March 1
  • April
  • May
  • June 10
  • July 8
  • August
  • September 2
  • October 5
  • November 4
  • December 7