-
Notifications
You must be signed in to change notification settings - Fork 61
React Native - Expo 48 crash with "Cannot read property '__expo_module_name__' of undefined #114
Comments
Also experiencing the same issue in new SDK 48 project. To reproduce:
That's it. Just importing it is enough to cause the error.
|
+1 |
This problem should be fixed with the 0.27.0 version of @pubnub/react-native-chat-components which was just released. @lakardion @Justin-Terry @Olli2 please update your dependency and let us know if it worked. At the same time, the package will most likely stop working with Expo versions below 48. |
@Salet Thank you! It is building just fine on my end |
Update: please update to 0.27.0 instead, we introduced a problem with sending messages in RN in 0.26.0 by mistake |
After installing expo-av, I got the same error. |
@OzanOcak hello , Did you solve this problem? |
|
I also got this error when installing expo-ads-admob |
I was getting this error when trying to install a expo package in a React Native CLI or Expo Bare template, if you aren't using expo blank template, you'll need to configure your app to install expo modules: https://docs.expo.dev/bare/installing-expo-modules/ After that the most important thing is running |
In my case, I didn't get the error if I build the project. Just create a new executable file with the new packages included. |
I'm having the same problem with the expo-ads-admob package as well. |
Hello!. I'm getting crashes on Expo 48 latest. I think it has to do with hermes. This is the error:
This happens at:
node_modules/@pubnub/react-native-chat-components/dist/commonjs/index.js
Here's a repo I have which is crashing with this error:
https://github.com/lakardion/test-gesture-handler
I tried this out on SDK 47 but it works properly. Seems like this is specific to expo 48 ?
Thanks!
The text was updated successfully, but these errors were encountered: