I am writing an electron app with electron-windows-notifications which is dependant on NodeRT.
As I try to install my project, I get following error for each of
You need to match your installation of the Windows 10 SDK exactly with the required version of NodeRT.
As recommended by some of the answers here, I installed various versions of the Windows 10 SDK and Visual Studio 2015 over the course of a few frustrating hours and still nothing.
Finally, after a bit of research and coming across the official NodeRT page:
https://github.com/NodeRT/NodeRT
I saw it lists exactly which Windows 10 SDK you need for each version of nodert.
Looking a bit closer at my exact error messages I saw it was complaining about nodert-win10-cu, so according to the above page I needed to install exactly the SDK Windows 10, Build 15063. After doing that it compiled like a charm, but only for that exact SDK version. Somehow of all the SDKs I installed, I did not install that exact one :).
I hope this helps someone else for whom the other answers didn't work. They get you close, but the details are important -- match your installation of the Windows 10 SDK exactly with the required version of NodeRT using the above link.