Open mfikes opened 7 years ago
I've been having a lot of trouble with this. I get a Lein prod-build error right in the beginning and then nothing else works. Any thoughts?
Davids-MacBook-Pro:projects Dave$ re-natal init natalTest Creating natalTest ☕ Grab a coffee! Downloading deps might take a while... Creating Leiningen project Updating Leiningen project Creating React Native skeleton. Creating Re-Natal config Compiling ClojureScript Command failed: lein prod-build Davids-MacBook-Pro:projects Dave$ npm --version 6.5.0 Davids-MacBook-Pro:projects Dave$ node --version v11.6.0 Davids-MacBook-Pro:projects Dave$ react-native --version react-native-cli: 2.0.1 react-native: n/a - not inside a React Native project directory Davids-MacBook-Pro:projects Dave$ cd natalTest -bash: cd: natalTest: No such file or directory Davids-MacBook-Pro:projects Dave$ ls expo-test hobbit-project natal-test hey-world natal-practice package-lock.json hobbit-killer natal-practice-two rn-test Davids-MacBook-Pro:projects Dave$ cd natal-test Davids-MacBook-Pro:natal-test Dave$ react-native run-ios >/dev/null xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
Command failed: xcrun instruments -s xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
Error: Command failed: xcrun instruments -s xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
at checkExecSyncError (child_process.js:622:11)
at Object.execFileSync (child_process.js:640:13)
at Object.runIOS [as func] (/Users/Dave/Projects/natal-test/node_modules/react-native/local-cli/runIOS/runIOS.js:76:17)
at Promise.resolve.then (/Users/Dave/Projects/natal-test/node_modules/react-native/local-cli/cliEntry.js:117:22)
If you follow the sequence of example steps for setting up an app, it will fail at the packaging point.
Then the packager will be "stuck" with this in its console:
And the simulator will time out indicating that it could not connect to the development server.