Build error sdk33 - Unable to resolve "react-native/Libraries/Components/View/ViewStylePropTypes"

Getting error after upgrading to expo sdk 33. Followed every step in the upgrade notes. expo cli v2.21.1

Unable to resolve “react-native/Libraries/Components/View/ViewStylePropTypes” from “node_modules/react-native-render-html/src/HTMLUtils.js”

Failed building JavaScript bundle.

I’ve got the same issue.
I’ve solved it by adding react-native-render-html as dependancy with version ^4.0.0. They fixed it since 4.0.0
So just try
npm install --save react-native-render-html@^4.0.0

5 Likes

This fixed the issue for me. Thanks!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.