Skip to main content
Question

EAS Metro error: react-native-packages-ui linking


Forum|alt.badge.img

Hi guys, pardon my ignorance but I was wondering why I get this error when doing a production build for ios via eas? There may have been a chance I skipped over a step but I am unsure what it could be. It works fine in eas dev builds and local.

This post has been closed for comments

4 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 562 replies
  • April 1, 2025

Hi, can you verify that you’ve run

npx expo install react-native-purchases

and then added "react-native-purchases-ui": "8.9.1" to your package.json and run npm install?


Forum|alt.badge.img
  • Author
  • New Member
  • 1 reply
  • April 2, 2025
Haley Pace wrote:

Hi, can you verify that you’ve run

npx expo install react-native-purchases

and then added "react-native-purchases-ui": "8.9.1" to your package.json and run npm install?

Hi, yes I have ran that as well as add the react-native-purchases-ui in my package.json pnpm install


Same here, only in production builds. 

  "react-native-purchases": "^8.9.4",
  "react-native-purchases-ui": "^8.9.4",

wasted days on this. 


Forum|alt.badge.img+8
  • RevenueCat Staff
  • 562 replies
  • April 18, 2025

Hi ​@aj aj aj ​@lev-martens-8bf9aa, can you share details of your build and how things are configured? And to confirm this is not for web right? If so this will not work as our SDK currently only supports non-web React Native.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings