Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpl FAQ #4

Open
lencx opened this issue Nov 3, 2021 · 0 comments
Open

mpl FAQ #4

lencx opened this issue Nov 3, 2021 · 0 comments
Labels
help Extra attention is needed

Comments

@lencx
Copy link
Owner

lencx commented Nov 3, 2021

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/*
@lencx lencx pinned this issue Nov 3, 2021
@lencx lencx added the help Extra attention is needed label Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant