You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
36 lines
1.1 KiB
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
function _execa() {
|
|
const data = _interopRequireDefault(require("execa"));
|
|
_execa = function () {
|
|
return data;
|
|
};
|
|
return data;
|
|
}
|
|
function _cliTools() {
|
|
const data = require("@react-native-community/cli-tools");
|
|
_cliTools = function () {
|
|
return data;
|
|
};
|
|
return data;
|
|
}
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
async function runBundleInstall(loader) {
|
|
try {
|
|
loader.start('Installing Bundler');
|
|
await (0, _execa().default)('bundle', ['install']);
|
|
} catch (error) {
|
|
loader.fail();
|
|
_cliTools().logger.error(error.stderr || error.stdout);
|
|
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.');
|
|
}
|
|
loader.succeed();
|
|
}
|
|
var _default = runBundleInstall;
|
|
exports.default = _default;
|
|
|
|
//# sourceMappingURL=runBundleInstall.js.map
|