(base) leon@leondeMacBook-Pro-2 GitHubPopular % react-native run-ios
node:child_process:924
throw err;
^
<ref *1> Error: spawnSync /Users/leon/OpenSourceProj/RN/GitHubPopular/node_modules/react-native/local-cli/setup_env.sh Unknown system error -8
at Object.spawnSync (node:internal/child_process:1117:20)
at spawnSync (node:child_process:871:24)
at Object.execFileSync (node:child_process:914:15)
at Object.run (/Users/leon/OpenSourceProj/RN/GitHubPopular/node_modules/react-native/local-cli/cliEntry.js:132:16)
at Object. (/usr/local/lib/node_modules/react-native-cli/index.js:117:7)
at Module._compile (node:internal/modules/cjs/loader:1239:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1293:10)
at Module.load (node:internal/modules/cjs/loader:1096:32)
at Function.Module._load (node:internal/modules/cjs/loader:935:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:84:12) {
errno: -8,
code: 'Unknown system error -8',
syscall: 'spawnSync /Users/leon/OpenSourceProj/RN/GitHubPopular/node_modules/react-native/local-cli/setup_env.sh',
path: '/Users/leon/OpenSourceProj/RN/GitHubPopular/node_modules/react-native/local-cli/setup_env.sh',
spawnargs: [],
error: [Circular *1],
status: null,
signal: null,
output: null,
pid: 0,
stdout: null,
stderr: null
}
Node.js v19.4.0