Skip to content

Commit 0b2bbad

Browse files
install npm3 for every platform
fix issue nodejs/node-gyp#972
1 parent 4dba060 commit 0b2bbad

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

appveyor.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ install:
3030
- ps: Install-Product node $env:nodejs_version $env:platform
3131
# Install newer npm for node.js 0.10
3232
- ps: >-
33-
if ($env:nodejs_version -eq "0.10") {
34-
npm install -g npm@3
35-
$env:PATH="$env:APPDATA\npm;$env:PATH"
36-
}
33+
npm install -g npm@3
34+
$env:PATH="$env:APPDATA\npm;$env:PATH"
3735
# Add local node-pre-gyp dir to path
3836
- SET PATH=node_modules\.bin;%PATH%
3937
# Use 64-bit Python if platform is 64-bit

0 commit comments

Comments
 (0)