Skip to content

mpl FAQ #4

@lencx

Description

@lencx

Q1

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

Solution:

# step 1:
$ xcode-select --install

xcode-select: error: command line tools are already installed, use "Software Update" to install updates

# step 2:
$ sudo rm -rf $(xcode-select -print-path)

# step 3:
$ xcode-select --install

Q2

✔ Project name: … my-app
✔ Select an application types: › Extension
✔ Select a scaffold: › Visual Studio Code
npm ERR! code ETARGET
npm ERR! notarget No matching version found for generator-code@^1.6.4.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

Solution:

rm -rf $(npm get cache)/_npx/*

Metadata

Metadata

Assignees

No one assigned

    Labels

    helpExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions