anchor.diff:  chcp 850 
   
   set NODE_VERSION=6.10.0
  -set NPM_VERSION=1.3.17
  +set NPM_VERSION=4.6.0
   
   :: Add Git to the path as this should be run through a .NET command prompt
   :: and not a Git bash shell... We also need the gnu toolchain (for curl & unzip)
  
positive.code: )
  popd
  
  echo Running npm install...
  pushd %TEMP_REPO%
  :: Due to an issue with using very old versions of npm, I'm unblocking build
  :: by calling npm thats installed on the build machine. We should fix this script
  :: by making it download npm4.6.0 and invoke that.
  echo Perform npm version check
  call npm -v
  call npm install --production
  echo.
  echo if YOU SEE A FAILURE AT THE BOTTOM OF THE NPM OUTPUT:
  echo If you do not have Node.js installed on this local machine, the Azure
  
negative.code: popd
  popd
  
  if not exist %TEMP_NPM_REPO% goto NPM_DOWNLOAD_TASK
  
  echo Temporary clone of auxilary npm repo exists. Removing it...
  pushd %TEMP_NPM_REPO%\..\
  if exist %TEMP_NPM_REPO% rmdir /s /q %TEMP_NPM_REPO%
  if exist %TEMP_NPM_REPO% (
      echo Failed to delete %TEMP_NPM_REPO%.
      goto ERROR
  )
  popd
  
  :NPM_DOWNLOAD_TASK
  mkdir %TEMP_NPM_REPO%
  echo Downloading npm from %NPM_DOWNLOAD_URL%...
  pushd %TEMP_NPM_REPO%
  curl -k -o npm.zip %NPM_DOWNLOAD_URL%
  if %errorlevel% neq 0 goto ERROR
  echo Unzipping npm from archive...
  unzip -q npm.zip
  if %errorlevel% neq 0 goto ERROR
  del npm.zip
  