Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.(5)

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

ITtutoria

ITtutoria Logo ITtutoria Logo

ITtutoria Navigation

  • Python
  • Java
  • Reactjs
  • JavaScript
  • R
  • PySpark
  • MYSQL
  • Pandas
  • QA
  • C++
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA
Home/ Questions/Recommendation for the gyp: No Xcode or CLT version detected! error
Next
In Process
elvera01
  • 31
elvera01
Asked: May 5, 20222022-05-05T04:43:46+00:00 2022-05-05T04:43:46+00:00In: Programs

Recommendation for the gyp: No Xcode or CLT version detected! error

  • 31

. 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!

gyp no xcode or clt version detectednode.js
  • 4 4 Answers
  • 123 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook
  • Report

4 Answers

  • Voted
  • Oldest
  • Recent
  • Random
  1. yhills
    2022-05-09T08:00:38+00:00Added an answer on May 9, 2022 at 8:00 am

    Have you tried this solution

    xcode-select --print-path
    sudo rm -rf /Library/Developer/CommandLineTools

    Since the install command didn’t work I needed the command downloaded from this link

    From there set up:

    XCode 12
    Command Line Tools for XCode 12

    Post which removed the existing node_modules. It was then installed using NPM install. It worked

    • 22
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  2. 2022-05-09T07:54:14+00:00Added an answer on May 9, 2022 at 7:54 am

    Simple way but it works for me

    sudo xcode-select --reset

     

    • 21
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  3. morissettedena
    2022-05-05T04:54:57+00:00Added an answer on May 5, 2022 at 4:54 am

    You should find the installation folder, then delete the existing installation, and do the install again

    xcode-select --print-path
    sudo rm -r -f /Library/Developer/CommandLineTools
    xcode-select --install

     

    • 17
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  4. zlowe
    2022-05-09T07:52:14+00:00Added an answer on May 9, 2022 at 7:52 am

    I have the following command and just try it

    sudo rm -rf $(xcode-select -print-path)
    xcode-select --install
    
    • 12
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question
  • How to Split String by space in C++
  • How To Convert A Pandas DataFrame Column To A List
  • How to Replace Multiple Characters in A String in Python?
  • How To Remove Special Characters From String Python

Explore

  • Home
  • Tutorial

Footer

ITtutoria

ITtutoria

This website is user friendly and will facilitate transferring knowledge. It would be useful for a self-initiated learning process.

@ ITTutoria Co Ltd.

Tutorial

  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA

Legal Stuff

  • About Us
  • Terms of Use
  • Privacy Policy
  • Contact Us

DMCA.com Protection Status

Help

  • Knowledge Base
  • Support

Follow

© 2022 Ittutoria. All Rights Reserved.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.