Confusing error message when Xcode wants to install extra components
See original GitHub issueEnvironment
info Fetching system and libraries information...
System:
OS: macOS Mojave 10.14.4
CPU: (8) x64 Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz
Memory: 1.40 GB / 16.00 GB
Shell: 2.6.0 - /usr/local/bin/fish
Binaries:
Node: 8.10.0 - ~/.nvm/versions/node/v8.10.0/bin/node
Yarn: Using globally installed version of Yarn
1.12.1 - /opt/facebook/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v8.10.0/bin/npm
Watchman: 4.9.4 - /opt/facebook/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.2 => 0.61.2
Description
Tried to run yarn ios. Got this:
The actual problem was that when I started Xcode, it asked to install “missing components”.
Reproducible Demo
I suppose, run any projects when Xcode has “missing components”.
So What?
If we can detect this particular problem, we can show a better message than “could not parse JSON”. Ideally we should launch the command that prompts to install those Xcode “missing components” automatically.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Component Installation fails so can't start Xcode anymore
I try to open Xcode and a window "Xcode Component Installation" opens. ... A message is displayed all the time I try: An...
Read more >Install additional required components unknown error occurs ...
It works, When I update the Xcode to latest version Xode 11.2.1. Installing components... enter image description here. Xcode Version 11.2.1
Read more >xcode - Repeatedly Being Asked to Install Command Line Tools
Open Launchpad and search for "Xcode" · Click and hold the Xcode icon till an "x" appears · Click the "x" and then...
Read more >Troubleshooting common React Native bugs - LogRocket Blog
This troubleshooting guide shares how to easily find and address common React Native bugs. See common error examples.
Read more >Troubleshooting - Unity - Manual
If you are trying to install a new package from the registry and it is not working, it might be due to permission...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @iansu, @SBinLondon is going to tackle this!
It was an existing machine. Maybe I did a system update or something.