Trying to install @sapphire/type, bufferutil or other native libraries fails on my windows machine. Visual studio throws syntax errors parsing the node includes. The problem does not occur with clang on my linux machine. As vs22 is the recommend version for node-gyp 10.1.0, I'm puzzled what the error might be, however I have no direct experience with node modules in this sense.
Node Version: v22.1.0 node-gyp Version: 10.1.0 Python Version: Python 3.12.3 VS Version: 17.9.6 Enterprise with C++ Desktop Development workload
With nan 2.19, a barebones simple program fails to compile on Windows. Attached is the full program (zipped). To test the failure: unzip nantest.zip Run npm install If compilation is successful, yo...