Closed ghost closed 4 years ago
Not sure what the reason was exactly but I upgraded Node.js from 13.9.0 to 14.7.0 and checked the box where it said "install additional stuff like chocolatey, python, build tools etc" (although I also checked that box half a year ago when I installed 13.9.0).
The line WARN This package does not support N-API version undefined
does not look good. When N-API version not detected, the pre-built binary can't be located and downloaded, which is why the local build from source starts, requiring the full toolchain, which is unnecessary.
I just reproduced, need to investigate further. It happens on Windows only, regardless of the node version.
The installation and build from source work for N-API 6 versions only: https://nodejs.org/api/n-api.html#n_api_n_api_version_matrix, need to improve the documentation. Usage from other (supported) node versions is fine.
I think I did pretty much everything the installation guide told me to:
I downloaded the SDK, extracted it, set some env vars.
I have also installed the Redistributables v12
and the build tools
Node.js is v13.9.0
When running
npm install node-rfc
I am getting the following log: