New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.60.0] Build failed after upgrading from 0.59.9 to 0.60 #25572
Comments
Exact same issue here |
I ran into this issue, after clearing derived data ( |
I'm having the same errors when I run @DSegal92 I attempted your solution, but it didn't help |
Looks like RN is attempting to get the jsi stuff in the wrong directory. All the stuff it wants is inside |
Same issue here! :( |
I got it working by making sure that my |
I am not sure why @DSegal92 comment didn't get enough attention but for some reason, Open your project on xcode, do This will clean your project and might solve your issue |
This issue is persisting for me on 0.60.3. I can build successfully on XCode but not with |
@pkpbynum what is the error? Same as before with |
@NuclearKev Yes, the exact same files and everything. |
Did you unlink everything from your iOS build and rely on cocoapods solely? |
Yes, I've unlinked everything as far as I can tell. XCode shows the following, which appears on running I'm also getting 2 warnings for packages which are still using the rnpm configuration:
|
Yeah, I've got one package that has the |
Cleaning up ios's build folder using |
The same issue |
@alivevietnam did you tried the steps that i suggested? |
Same issue here. I tried all the options suggested by you guys. When I try to run "pod install", I got this error: No `Podfile' found in the project directory. |
@leandrolimasi you need to add a Podfile. Use https://react-native-community.github.io/upgrade-helper/ to help you. |
@leandrolimasi Open Xcode, select your target, it's right under |
Thank you all. Now the "react-native run-ios" is performing successfully. But now I am facing an issue on app console: I have no idea whats is happening. |
In my case I think it was a problem with the |
The missing files jsi/jsi.h (and others) were downloaded in the jsi/jsi/ directory. I copied them all in the jsi directory (from jsi/jsi) to workaround this issue. |
I had my |
yarn install or yarn install --ignore-engines |
to anyone who's facing this issue yet. at keast in my case. the problem was related to react-navigation, that moved createStackNavigator and createDrawerNavigator to new separated packages. After installing "react-navigation-stack" and "react-navigation-drawer" the project started to work again. |
Hi @rafaismyname i'm in the process of his upgrade except from I was previously using Pods in my project as well and didn't have this in the linked libraries list. Do you know why I don't have it and where I can add it? I'm currently running into import issues in React core and I think it's related |
Hey @adamfellon, how's going? Sorry, but i have no clue on that! Best luck |
it's going...day 3 of trying to get the app to build so there have been better days. I realized this So I have that present...still running into header import issues from Folly just trying to import Thanks for the reply! |
any solution for isssue |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Hello, I failed to build my project after upgrading react-native from 0.59.9 to 0.60.0 (iPad iOS app). I tried with react-native CLI and then with XCode and I got these issues, all coming from "jsi" :
error: {PATH}/node_modules/react-native/ReactCommon/jsi/jsi.h: No such file or directory error: {PATH}/node_modules/react-native/ReactCommon/jsi/instrumentation.h: No such file or directory error: {PATH}/node_modules/react-native/ReactCommon/jsi/jsi-inl.h: No such file or directory error: {PATH}/node_modules/react-native/ReactCommon/jsi/JSIDynamic.h: No such file or directory
React Native version: 0.60.0
System:
OS: macOS 10.14.5
CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Memory: 224.88 MB / 8.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 12.1.0 - /usr/local/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.10.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
IDEs:
Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.0 => 0.60.0
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce
react-native upgrade
then i got some errors on terminal :error: information de nom de fichier manquante dans l'en-tête de git diff lors de la suppression de 2 composants de préfixe de chemin (ligne 5) error Automatically applying diff failed error Patch failed to apply for unknown reason. Please fall back to manual way of upgrading info You may find these resources helpful: • Release notes: https://github.com/facebook/react-native/releases/tag/v0.60.0 • Comparison between versions: https://github.com/react-native-community/rn-diff-purge/compare/version/0.59.9..version/0.60.0 • Git diff: https://github.com/react-native-community/rn-diff-purge/compare/version/0.59.9..version/0.60.0.diff error Upgrade failed. Please see the messages above for details. Run CLI with --verbose flag for more details.
npm update
,yarn upgrade
, and thenreact-native upgrade
and i got this :Describe what you expected to happen: Just upgrade from 0.59.9 to 0.60.0 and run my application
Snack, code example, or link to a repository: My pagkage/json :
{ "name": "gazecraftclient", "private": true, "scripts": { "start": "react-native start", "android": "react-native run-android", "ios": "react-native run-ios", "ipad": "ENVFILE=.env.simu-pegase react-native run-ios --simulator \"iPad (5th generation)\"", "ipad-schema": "ENVFILE=.env.simu-schema react-native run-ios --simulator \"iPad (5th generation)\"", "device": "ENVFILE=.env.ipad-pegase react-native run-ios --device \"iPad de Thibault\"", "device-schema": "ENVFILE=.env.ipad-schema react-native run-ios --device \"iPad de Thibault\"", "device-xplane": "ENVFILE=.env.ipad-xplane react-native run-ios --device \"iPad de Thibault\"", "ipad-xplane": "ENVFILE=.env.simu-xplane react-native run-ios --simulator \"iPad (5th generation)\"", "release": "ENVFILE=.env.ipad-xplane react-native run-ios --device \"iPad de Thibault\" --configuration Release" }, "dependencies": { "@babel/runtime": "7.3.4", "@react-native-community/slider": "^1.1.4", "art": "^0.10.3", "d3": "^5.9.7", "d3-shape": "^1.3.5", "npm": "^6.10.0", "react": "16.8.6", "react-native": "0.60.0", "react-native-config": "^0.11.7", "react-native-elements": "^1.1.0", "react-native-pdf": "^5.1.3", "react-native-svg": "^9.5.1", "react-native-vector-icons": "^6.6.0", "react-timer-mixin": "^0.13.4", "rn-fetch-blob": "^0.10.15", "victory-native": "^32.0.2" }, "devDependencies": { "@types/react": "^16.8.23", "@types/react-native": "^0.60.0", "react-native-svg-transformer": "^0.13.0" } }
Thanks in advance for any help 😊
The text was updated successfully, but these errors were encountered: