. Advertisement .
..3..
. Advertisement .
..4..
Hi developer experts, I have a small but very frustrating use case and so far I couldn’t get my head around this problem & ideal solution. I run my code and the problem is gyp no xcode or clt version detected
Below is the command I used
npm install
While I run it, I get the following error:
$ npm install Fri Mar 6 17:22:40 2020
> [email protected] install /Users/synapse/Documents/synapsefi-dev-ui/node_modules/watchpack/node_modules/fsevents
> node-gyp rebuild
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
I am looking forward to gaining some knowledge from all experts. Thank you guys!
Have you tried this solution
Since the install command didn’t work I needed the command downloaded from this link
From there set up:
Post which removed the existing node_modules. It was then installed using
NPM install
. It workedSimple way but it works for me
I have the following command and just try it
You should find the installation folder, then delete the existing installation, and do the install again