Skip to content

Commit

Permalink
update npm to fix bug with windows:
Browse files Browse the repository at this point in the history
  • Loading branch information
wadey committed Jul 11, 2016
1 parent de6773b commit de61d2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ environment:

install:
- ps: Install-Product node $env:nodejs_version
- IF %nodejs_version% LSS 1 npm -g install npm
# Need to update npm to fix this bug: https://github.com/nodejs/node-gyp/pull/952
- IF %nodejs_version% LSS 6 npm -g install npm@2
- IF %nodejs_version% EQU 6 npm -g install npm@3
- IF %nodejs_version% LSS 1 set PATH=%APPDATA%\npm;%PATH%
- npm install
# - IF %nodejs_version% EQU 0.8 npm install
Expand Down

0 comments on commit de61d2a

Please sign in to comment.