New project fails on react-native@0.46
See original GitHub issueIs this a bug report?
Yes
Have you read the Bugs section of the Contributing to React Native Guide?
Yes
Environment
react-native -v
: 0.46.0node -v
: 8.1.3npm -v
: 5.0.3yarn --version
(if you use Yarn): 0.27.5
Then, specify:
- Target Platform (e.g. iOS, Android): iOS
- Development Operating System (e.g. macOS Sierra, Windows 10): macOS Sierra (10.12.5 (16F73)
- Build tools (Xcode or Android Studio version, iOS or Android SDK version, if relevant): Xcode 8.3.3
Steps to Reproduce
(Write your steps here:)
- react-native init Test
- cd Test
- react-native run-ios
Expected Behavior
App would go through build process and start app in iOS Simulator, and packager in a terminal window.
Actual Behavior
Error in simulator
Error in packager Terminal Saved Output.pdf
Reproducible Demo
It’s a fresh project built with react-native-cli.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:22 (7 by maintainers)
Top Results From Across the Web
New project not working on IOS Xcode 12.4 react-native 0.64 ...
Description i try to create a new project (npx react-native init ... Error: Command PhaseScriptExecution failed with a nonzero exit code.
Read more >react native - Getting error while creating a new Project
I'm new to reactnative. I have followed steps to install reactnative properly but, while creating a new project, I'm getting an error.
Read more >Error in building ReactNative videoSDK sample code (IOS ...
error Failed to build iOS project. We ran “xcodebuild” command but it exited with error code 65. To debug build logs further, ...
Read more >Add Expo to an existing project
When the command succeeds, you will be able to add any Expo module in your app! Proceed to Usage for more information. If...
Read more >roam-reactnative - npm
This plugin allows to use the Roam.ai SDK in your React Native mobile application on iOS and Android.. Latest version: 0.0.41, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Removing .babelrc seems to temporarily fix the issue
I’ve had a lot of issues with React Native version 0.45 and up. One thing that I found is that React Native doesn’t play well with npm 5. Switch to npm 4. Do this with
npm install -g npm@latest-4
. If that doesn’t help, simply switch to React Native 0.44.0. That’s what I’m using, and you’re not missing out on much by going back. When starting a new project, runreact-native init projectname --version 0.44.0
. Hope that helps!