The problem that i am having is that i cant install the packages for a project, it keeps erroring with: Find vs valid versions for msvs_version:. In my case i tried all the above:
Gyp Rosetti Hair
What fixed my issue was: Downgrading node.js from version 16.13.2 to version 16.13.0. Too old, upgrade to sass which will avoid the.
If you're using prebuild, update it to v12.0.0.
Verify if you have vs build tools by running npm config get msvs_version (if you have, skip to step 4. Following this atricle and it wasnt enough. In my case, i was using an old version of the prebuild library. I'm just learning nodejs on windows.
I've tried many guides online but i feel like i am playing a guessing.