-
Notifications
You must be signed in to change notification settings - Fork 30
Description
I am currently using the "react-native-map-clustering" package, but I want to try the "react-native-clusterer" package for performance reasons. When I install the "react-native-clusterer" package for the project, I get the following error during prebuild and eas build.
Local build (expo run:ios) or EAS Build Error
❌ (ios/Pods/RCT-Folly/folly/portability/Config.h:20:10)
18 |
19 | #ifndef FOLLY_NO_CONFIG
20 | #include <folly/folly-config.h>
| ^ 'folly/folly-config.h' file not found
21 | #endif
22 |
23 | #if __has_include(<features.h>)
❌ (node_modules/react-native-nitro-modules/cpp/core/ArrayBuffer.hpp:12:10)
10 | #include "BorrowingReference.hpp"
11 | #include "NitroDefines.hpp"
12 | #include <jsi/jsi.h>
| ^ could not build module 'jsi'
13 | #include
14 | #include
15 |
❌ (node_modules/react-native-clusterer/nitrogen/generated/shared/c++/HybridClustererSpec.hpp:11:10)
9 |
10 | #if __has_include(<NitroModules/HybridObject.hpp>)
11 | #include <NitroModules/HybridObject.hpp>
| ^ could not build module 'NitroModules'
12 | #else
13 | #error NitroModules cannot be found! Are you sure you installed NitroModules properly?
14 | #endif
The project already has "react-native-nitro-modules:0.31.10" installed. I believe the issue is related to this package.
"expo": "~53.0.22",
"react-native": "0.79.6",
"react-native-nitro-modules": "^0.31.10",
"react-native-clusterer": "5.0.2"