Open weisiqian opened 2 years ago
Could be a node issue rather than gpu.js specific. To me, it looks like node can't find the native tools it expects needed for the install. For best compatibility, install the native build tools that come configured from the node installer. This will probably install an older version of VS Build Tools, like from 2017; it's a light installation and should not conflict with your current 2022 community edition.
You could probably just set an environment variable to point to your VC compiler, as mentioned in the error messages, but more work may be needed.
I have the same issue. @weisiqian Have you found a solution?
first
npm install gpu.js --save-dev
then I got this error.
my enviroment is :
and I have installed visual studio 2022.