We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828145a commit 45e472bCopy full SHA for 45e472b
packages/cmake-rn/src/cli.ts
@@ -156,11 +156,17 @@ export const program = new Command("cmake-rn")
156
triplets.add("arm64-apple-ios-sim");
157
}
158
159
- console.error(
160
- chalk.yellowBright("ℹ"),
161
- "Using default triplets",
162
- chalk.dim("(" + [...triplets].join(", ") + ")")
163
- );
+ if (triplets.size === 0) {
+ throw new Error(
+ "Found no default triplets: Install some platform specific build tools"
+ );
+ } else {
164
+ console.error(
165
+ chalk.yellowBright("ℹ"),
166
+ "Using default triplets",
167
+ chalk.dim("(" + [...triplets].join(", ") + ")")
168
169
+ }
170
171
172
const tripletContext = [...triplets].map((triplet) => {
0 commit comments