Closed shwanton closed 5 years ago
Just to follow up here, the new version of React Native CLI has a react-native info
command which displays all this information and more. It used a new version of envinfo
with custom getters for specific libs & node_packages
Here is the env info run command that react-native-cli uses.
System:
OS: macOS 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz
Memory: 116.63 MB / 16.00 GB
Shell: 5.7.1 - /usr/local/bin/zsh
Binaries:
Node: 10.15.3 - /var/folders/fc/dg0hjk2n5lg7g8brjxyfhx6h0000gn/T/yarn--1566834289621-0.3804973231939064/node
Yarn: 1.17.3 - /var/folders/fc/dg0hjk2n5lg7g8brjxyfhx6h0000gn/T/yarn--1566834289621-0.3804973231939064/yarn
npm: 6.4.1 - ~/.asdf/installs/nodejs/10.15.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
Android SDK:
API Levels: 23, 24, 27, 28
Build Tools: 27.0.3, 28.0.3
System Images: android-23 | Google APIs Intel x86 Atom, android-24 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5692245
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
@react-native-community/cli: ^2.9.0 => 2.9.0
react: 16.8.6 => 16.8.6
react-native: 0.60.5 => 0.60.5
I just got bit by the
getAndroidSDKInfo
helper returning an array with["Android SDK", ...androidData]
I noticed the fix in master so I'm pulling directly. Would be great if it was published on npm as well.