boadude / ReactNativeExpo.js

An React Native Starter Kit with Expo + NativeBase + Best configuration for VSCode IDE.
MIT License
42 stars 7 forks source link

error upgrading react-native, so failure to create ios folders #10

Open yashdoshi89 opened 4 years ago

yashdoshi89 commented 4 years ago

react-native-expo-starter@2.0.0 ios /Users/yash/projects/reactv2/ReactNativeExpo.js react-native run-ios

error iOS project folder not found. Are you sure this is a React Native project?. Run CLI with --verbose flag for more details. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! react-native-expo-starter@2.0.0 ios: react-native run-ios npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react-native-expo-starter@2.0.0 ios script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/yash/.npm/_logs/2020-06-07T03_58_21_067Z-debug.log MacBook-Pro:ReactNativeExpo.js yash$ sudo gem install cocoapods Password: Sorry, try again. Password: sudo: 1 incorrect password attempt MacBook-Pro:ReactNativeExpo.js yash$ react-native upgrade info No version passed. Fetching latest... info Fetching diff between v0.61.5 and v0.62.2... info Applying diff... warn Excluding files that exist in the template, but not in your project:

error Automatically applying diff failed. We did our best to automatically upgrade as many files as possible error Patch failed to apply for unknown reason. Please fall back to manual way of upgrading warn After resolving conflicts don't forget to run "pod install" inside "ios" directory info You may find these resources helpful: • Release notes: https://github.com/facebook/react-native/releases/tag/v0.62.2 • Manual Upgrade Helper: https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.2 • Git diff: https://raw.githubusercontent.com/react-native-community/rn-diff-purge/diffs/diffs/0.61.5..0.62.2.diff error Upgrade failed. Please see the messages above for details. Run CLI with --verbose flag for more details. MacBook-Pro:ReactNativeExpo.js yash$ react-native upgrade info No version passed. Fetching latest... info Fetching diff between v0.61.5 and v0.62.2... info Applying diff... warn Excluding files that exist in the template, but not in your project:

error Automatically applying diff failed. We did our best to automatically upgrade as many files as possible error Patch failed to apply for unknown reason. Please fall back to manual way of upgrading warn After resolving conflicts don't forget to run "pod install" inside "ios" directory info You may find these resources helpful: • Release notes: https://github.com/facebook/react-native/releases/tag/v0.62.2 • Manual Upgrade Helper: https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.2 • Git diff: https://raw.githubusercontent.com/react-native-community/rn-diff-purge/diffs/diffs/0.61.5..0.62.2.diff error Upgrade failed. Please see the messages above for details. Run CLI with --verbose flag for more details. MacBook-Pro:ReactNativeExpo.js yash$

boadude commented 4 years ago

Hi, sorry for the delay. I experience a few problems detaching Expo and using simple React Native.

My recommendation is to use the project if you want to use Expo, but if not, go with react native CLI and copy the folder structure.