Skip to content

gyp: No Xcode or CLT version detected! after macOS update #2145

@tuananh

Description

@tuananh
  • Node Version: 14.3.0

  • Platform: Darwin mbp16.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64

  • Compiler: Apple clang version 11.0.0 (clang-1100.0.33.8)
    Target: x86_64-apple-darwin19.5.0
    Thread model: posix
    InstalledDir: /Library/Developer/CommandLineTools/usr/bin

  • Module: personal project.

Verbose output (from npm or node-gyp):
gyp: No Xcode or CLT version detected!

This has been going on for several macOS update. xcode-select --install will report CLT is already installed.

The only fix is to remove CLT folder sudo rm -rf /Library/Developer/CommandLineTools and reinstall CLT again.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions