@react-native-community/cli
Version:
25 lines (21 loc) • 873 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
function _cliTools() {
const data = require("@react-native-community/cli-tools");
_cliTools = function () {
return data;
};
return data;
}
class TemplateAndVersionError extends _cliTools().CLIError {
constructor(template) {
super(`Passing both "version" and "template" is not supported. The template you select determines the version of react-native used. Please use only one of these options, for example:
--template ${template}@x.y.z
where x.y.z is the release of the template that contains the desired "react-native" version. Check the version tab of https://www.npmjs.com/package/${template} for available versions`);
}
}
exports.default = TemplateAndVersionError;
//# sourceMappingURL=TemplateAndVersionError.ts.map