@react-native-community/cli-doctor
Advanced tools
Comparing version 9.1.2 to 9.2.0
@@ -71,2 +71,4 @@ "use strict"; | ||
var _runBundleInstall = _interopRequireDefault(require("./runBundleInstall")); | ||
var _brewInstall = require("./brewInstall"); | ||
@@ -80,3 +82,3 @@ | ||
loader.start(`Installing CocoaPods dependencies ${_chalk().default.dim('(this may take a few minutes)')}`); | ||
await (0, _execa().default)('pod', ['install']); | ||
await (0, _execa().default)('bundle', ['exec', 'pod', 'install']); | ||
} catch (error) { | ||
@@ -98,3 +100,6 @@ // "pod" command outputs errors to stdout (at least some of them) | ||
loader.fail(); | ||
throw new Error(`Failed to install CocoaPods dependencies for iOS project, which is required by this template.\nPlease try again manually: "cd ./${directory}/ios && pod install".\nCocoaPods documentation: ${_chalk().default.dim.underline('https://cocoapods.org/')}`); | ||
_cliTools().logger.error(stderr); | ||
throw new Error('Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS.'); | ||
} | ||
@@ -227,2 +232,3 @@ } | ||
await (0, _runBundleInstall.default)(loader); | ||
await runPodInstall(loader, directory); | ||
@@ -229,0 +235,0 @@ } catch (error) { |
{ | ||
"name": "@react-native-community/cli-doctor", | ||
"version": "9.1.2", | ||
"version": "9.2.0", | ||
"license": "MIT", | ||
@@ -11,5 +11,5 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@react-native-community/cli-config": "^9.1.0", | ||
"@react-native-community/cli-platform-ios": "^9.1.2", | ||
"@react-native-community/cli-tools": "^9.1.0", | ||
"@react-native-community/cli-config": "^9.2.0", | ||
"@react-native-community/cli-platform-ios": "^9.2.0", | ||
"@react-native-community/cli-tools": "^9.2.0", | ||
"chalk": "^4.1.2", | ||
@@ -48,3 +48,3 @@ "command-exists": "^1.2.8", | ||
}, | ||
"gitHead": "752712efa9180c390c30b3ed35154acfc4d2c4af" | ||
"gitHead": "3dd8e7ffa1f0f63356c2bcb6d24ef1c50eb05541" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
236883
141
2773