Skip to content

Commit

Permalink
[skip travis] AppVeyor: use npm 2.15.9 for node > 0.x to work around …
Browse files Browse the repository at this point in the history
…"'__pfnDliNotifyHook2': redefinition;"
  • Loading branch information
wilhelmberg committed Jul 14, 2016
1 parent f5dd456 commit 2b5f567
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/build-appveyor.bat
Expand Up @@ -50,7 +50,10 @@ powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
CALL npm install --global --production npm-windows-upgrade
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
CALL npm-windows-upgrade --npm-version 2.15.6 --no-dns-check --no-prompt
REM https://ci.appveyor.com/project/Mapbox/node-sqlite3/build/1.0.500/job/n2y9fo4eg316db56#L289
REM error C2373: '__pfnDliNotifyHook2': redefinition; different type modifiers
REM at least 2.15.9 is needed: https://github.com/nodejs/node-gyp/issues/972#issuecomment-231055109
CALL npm-windows-upgrade --npm-version 2.15.9 --no-dns-check --no-prompt
IF %ERRORLEVEL% NEQ 0 GOTO ERROR

:SKIP_APPVEYOR_INSTALL
Expand Down

0 comments on commit 2b5f567

Please sign in to comment.