`npm install` fails on node-gyp rebuild with `gyp: No Xcode or CLT version detected!`

Even though you have them installed (my case), but by upgrading to Catalina (10.15.*) you can get this error (my case 🙂 ). Therefore, simply installing wouldn’t help as you will get an error that they are already installed. Therefore you need to hopefully just (I) reset the tool or in worse case (II) uninstall … Read more

Node.js: Python not found exception due to node-sass and node-gyp

so this happened to me on windows recently. I fix it by following the following steps using a PowerShell with admin privileges: delete node_modulesfolder running npm install –global windows-build-tools with administrative privilege. (in my case need restart – and restart without ask!!!) reinstalling node modules or node-sass with npm install