Commit 2b5f5670 by bergwerkgis

[skip travis] AppVeyor: use npm 2.15.9 for node > 0.x to work around…

[skip travis] AppVeyor: use npm 2.15.9 for node > 0.x to work around "'__pfnDliNotifyHook2': redefinition;"
parent f5dd4563
...@@ -50,7 +50,10 @@ powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force ...@@ -50,7 +50,10 @@ powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
IF %ERRORLEVEL% NEQ 0 GOTO ERROR IF %ERRORLEVEL% NEQ 0 GOTO ERROR
CALL npm install --global --production npm-windows-upgrade CALL npm install --global --production npm-windows-upgrade
IF %ERRORLEVEL% NEQ 0 GOTO ERROR 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 IF %ERRORLEVEL% NEQ 0 GOTO ERROR
:SKIP_APPVEYOR_INSTALL :SKIP_APPVEYOR_INSTALL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment