node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

No VS Installation found - windows 10

Open humanfriend22 opened this issue 3 years ago • 8 comments

I have tried every solution on this issue, but I am getting the same error. Can someone help me?

The original issue is locked and so I am continuing it here.

As a reply for cclauss, the version shows 8.2.0

Originally posted by @humanfriend22 in https://github.com/nodejs/node-gyp/issues/2203#issuecomment-971023244

humanfriend22 avatar Nov 25 '21 05:11 humanfriend22

The current release of this project is v8.4.1. https://github.com/nodejs/node-gyp/releases

~Is 8.20.0 above a typo?~

If your error log does not comtain gyp info using [email protected] then please upgrade using the instructions at https://github.com/nodejs/node-gyp/blob/master/docs/Updating-npm-bundled-node-gyp.md and retry your command.

If you are running the current version of node-gyp then please provide:

  • The command typed
  • The full error log

cclauss avatar Nov 25 '21 05:11 cclauss

My bad, I fixed the typo. I will get back to you tomorrow. Thank you for your help!

humanfriend22 avatar Nov 25 '21 05:11 humanfriend22

I have updated node-gyp and just running node-gyp as a command in Command prompt tells me that my installed node-gyp version is 8.4.1.

However, when I try to install any package that requires node-gyp, it says it is using version 8.2.0.

humanfriend22 avatar Dec 01 '21 05:12 humanfriend22

https://github.com/nodejs/node-gyp/blob/master/docs/Updating-npm-bundled-node-gyp.md

cclauss avatar Dec 01 '21 05:12 cclauss

I have read the whole instruction and followed them. Installing packages still show 8.2.0.

humanfriend22 avatar Dec 01 '21 06:12 humanfriend22

I am having this issue, too while installing sqlite3. I use windows 10 and installed visual studio community 2022. I also tried the dev powershell from vs 2022 as stated in the comment of the original post but no luck.

ingtellect avatar Dec 01 '21 09:12 ingtellect

I have also installed Visual Studio 2022 and previous versions. I am trying to install mmmagic and robotjs.

humanfriend22 avatar Dec 02 '21 01:12 humanfriend22

https://github.com/nodejs/node-gyp/blob/master/docs/Common-issues.md --> ~npm config set msvs_version 2022~

cclauss avatar Dec 05 '21 08:12 cclauss

This issue has been stale for a long time. If there are no objections, I will close this issue next Mon-Tue. In case something similar happens again please open a new issue.

StefanStojanovic avatar Apr 17 '24 12:04 StefanStojanovic