Error while installing dependencies on npx create-strapi-app@latest backend --quickstart

I’m trying to install Strapi (to be the backend of a next.js app) and I’m getting the following errors whhile instaling:
(complete paste of terminal from installation command can be found here: cmd - Pastebin.com)

gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows

(above error is lines 59-62 of the paste)

I’ve never run into this issue with previous Strapi installations on this and on other machines, and couldn’t find anything online that was of help =/
Any ideas what could be causing this? It at first seems like a bunch of dependency issues but I doubt that Strapi doesn’t keep up with their dependencies, but I also can’t figure out what it is I’m doing wrong…

This topic has been created from a Discord post (1219974845689761852) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

So, so far I’ve uninstalled and reinstalled the Visual Studio devtools, along with the build tools for C++, I’ve also uninstalled and reinstalled python, still nothing works

I’m using node 20.9.0 with npm 10.1.0 and I’ve made sure that I am trying to install strapi v4 (since I’m running npx create-strapi-app@latest backend --quickstart)

During the install, it always goes through to step 5 with no problems, them crashes because of some “gyp” errors

reinstalling node also did nothing
tried installing via yarn instead of npx, also tried installing the experimental version of strapi, and also tried instaling v4.15.0, all of the above to no avail, issue persists, strapi remains uninstalled :frowning_with_open_mouth:

Are you on windows? You need to install dev tools when installing node in windows there should be a check box option.

It’s called BuildTools

I had those installed already

tried reinstalling them
also tried reinstalling everything and anything relevant
the one move that did the trick was npm i node-gyp & npm rebuild and that completed the strapi installation ^^

<@287988318455726081> thats awesome.