Skip to content

Commit

Permalink
Using @react-native-community/cli
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Aug 19, 2024
1 parent bbefc8c commit e9ccac2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const cp = require("child_process");
const filteredEnv = Object.fromEntries(Object.entries(process.env).filter(([k]) => !k.startsWith("npm_")));

function sync(...args) {
const process = cp.spawnSync("node", [require.resolve("react-native/local-cli/cli.js"), ...args], {
const process = cp.spawnSync("node", [require.resolve("@react-native-community/cli/build/bin.js"), ...args], {
stdio: ["inherit", "inherit", "inherit"],
env: filteredEnv,
});
Expand Down

0 comments on commit e9ccac2

Please sign in to comment.