CatalystCode / electron-windows-notifications

Call native windows notifications from Electron using NodeRT
25 stars 3 forks source link

Cannot compile 'win_delay_load_hook.c' with the /ZW option #9

Closed CharlieHess closed 8 years ago

CharlieHess commented 8 years ago

During node-gyp rebuild on Windows 10:

cl : Command line error D8048: cannot compile C file 'C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c' with the /ZW option [C:\Source\slack-winssb\node_modules\@nodert-win10\windows.ui.notifications\build\binding.vcxproj]

Any ideas?

nadavbar commented 8 years ago

@CharlieHess This issue was resolved in newer versions of npm that the node.js installer hasn't picked up yet. They basically renamed the c file to a cc extension. You can resolve it by running npm install -g npm@next

CharlieHess commented 8 years ago

@nadavbar thanks for the heads up, that fixed it.