Skip to content

Commit

Permalink
Fix installation failures for versions 0.10.48, 0.12.18 and 5.12.0.
Browse files Browse the repository at this point in the history
npm install for these versions is failing due to a bug that causes
installation of native modules to fail with the error:
C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(34):
error C2373: '__pfnDliNotifyHook2': redefinition; different type modifiers
[C:\projects\tedious\node_modules\sspi-client\build\sspi-client.vcxproj]

This seems to be a known issue with certain npm/node-gyp versions:
nodejs/node-gyp#972
nodejs/node#7286

Fixing this by installing the latest version of npm before running the
tests.
  • Loading branch information
tvrprasad committed Feb 1, 2017
1 parent 9376bb2 commit 15a52b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ test_script:
- cmd: |
SET EXITVAL=0
npm install -g npm
npm run-script test || SET EXITVAL=1
powershell %cd%\scripts\appveyor\config.ps1 SQL2016
Expand Down

0 comments on commit 15a52b7

Please sign in to comment.