Ошибка обновления пряжи из-за пути разработчика xcode - PullRequest
0 голосов
/ 10 июля 2019

brew upgrade yarn дает мне ошибки xcode.Мне больше не нужен xcode, и я хочу, чтобы он был полностью удален.

Я удалил xcode, выполнив следующие действия: Как полностью удалить Xcode и удалить все настройки

$ brew upgrade yarn
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.

==> Upgrading 1 outdated package:
yarn 1.13.0 -> 1.16.0
==> Upgrading yarn 
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
Error: An exception occurred within a child process:
  CompilerSelectionError: yarn cannot be built with any available compilers.
Install GNU's GCC:
  brew install gcc

Я не хочу переключать путь на Xcode.appкак мне не нужно / использовать Xcode.Мне нужно убрать все остатки Xcode и обновить Yarn.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...