Skip to content

npm install fails on windows with error gyp ERR! find VS #119

Answered by mirestrepo
mirestrepo asked this question in Q&A
Discussion options

You must be logged in to vote

We need to tell npm what version of Visual Studio you are using. Assuming your versions of Visual Studio is 2022, you can do so by running

npm config set msvs_version 2022

then re-run npm install

Also confirm that Visual Studio is located at "C:\Program Files\Microsoft Visual Studio\2022\Community"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RobertGemmaJr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant