do not install folly manually if prebuilt RN deps are used - #30
Conversation
|
Just landed on this issue myself: |
|
This is the only thing blocking me from |
|
I can confirm this patch is needed to build with latest Expo SDK 54 Beta using RN 0.81.0. In addition to this I also had to patch a few |
|
Hi all, just merged it. Dominic is taking a break from open source at the moment, so I'm going to ask if I can get NPM publish access 🙂 The best approach would be to add a CI script to the package which publishes to NPM on merging to main. Any help on that would be greatly appreciated. CC @hirbod |
|
[!] Unable to find a specification for You have either:
Recently, I attempted to upgrade to SDK54, but the error still persists. |
|
A temporary workaround is to disable the precompiled deps with |
|
@nandorojo any update on when we'll have this on NPM? Thanks! |
|
I added this script but it's failing: If anyone can fix it, it'll publish! |
|
@nandorojo i think it's because we have react 18 but types installed are for react 19, and rn 0.77 from the examples is forcing react 18? Just upgrading all the reacts to 19 might help since it's required in the newest react native as well afaik |
|
Well that's interesting info ^ |
|
Issue resolved yet? |
Working thanks a lot |
|
Any news on an update? |
|
Adding env with these two env values in eas.json would solve the issue when running eas build --profile development --platform ios |
Thank you for this. |
this was the fix, thanks alot |
|
For expo SDK 53 : react-native-menu/menu#1187 . not the cleanest but may help someone. Suggestions for improvement appreciated. |
Hello @dominicstop - starting from React Native 0.80, there is an ability to use prebuilt RN dependencies. See: https://reactnative.dev/blog/2025/06/12/react-native-0.80#experimental---react-native-ios-dependencies-are-now-prebuilt When this is done, libraries that configure Folly manually clash with this approach, resulting in build errors. Since this library configures Folly manually, we need to account for this.
Would you be able to check this PR out?