
# only for the (II) uninstalling case - the next line deletes folder returned by the `xcode-select -print-path` command Sudo xcode-select -switch /Library/Developer/CommandLineTools # could be useful if the path is making a problem # in my case it printed `/Library/Developer/CommandLineTools`
#GYP NO XCODE OR CLT VERSION DETECTED INSTALL#
Therefore you need to hopefully just (I) reset the tool or in worse case (II) uninstall and install (requires large redownload) it again (this is based on the answer). Therefore, simply installing wouldn't help as you will get an error that they are already installed. Npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1Įven though you have them installed (my case), but by upgrading to Catalina (10.15.*) you can get this error (my case :) ). Npm WARN optional SKIPPING OPTIONAL DEPENDENCY: install: `node-gyp rebuild` Npm WARN optional SKIPPING OPTIONAL DEPENDENCY: (node_modules/watchpack/node_modules/fsevents): Npm WARN The package react-dropzone is included as both a dev and production dependency. Npm WARN The package country-data is included as both a dev and production dependency. Gyp ERR! cwd /Users/synapse/Documents/synapsefi-dev-ui/node_modules/watchpack/node_modules/fsevents Gyp ERR! command "/Users/synapse/.nvm/versions/node/v8.8.0/bin/node" "/Users/synapse/.nvm/versions/node/v8.8.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" Gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) Gyp ERR! stack at ChildProcess.emit (events.js:213:7) Gyp ERR! stack at emitTwo (events.js:125:13) Gyp ERR! stack at ChildProcess.onCpExit (/Users/synapse/.nvm/versions/node/v8.8.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:344:16) Gyp ERR! stack Error: `gyp` failed with exit code: 1

No receipt for '_Executables' found at '/'. > install /Users/synapse/Documents/synapsefi-dev-ui/node_modules/watchpack/node_modules/fsevents The only new thing I did is updating my macOS to the latest version (Catalina 10.15.3 today). (both are updated to the latest version). I tried to run it on VSCode terminal and iTerm, but both ended up getting the same error. How do I fix it? gyp: No Xcode or CLT version detected!
