Closed JavanHuang closed 5 months ago
@JavanHuang I suspect as you allude to that the .web
version isn't being loaded when it should be. Which would point to a webpack issue. Your config does look about right though.
Does RNVI 9.2.0 work? I did quick diff and there aren't any changes I can see that would impact this
@johnf Thanks for the follow-up! I'm currently using RNVI 9.2.0 within my project so there is no impact in downgrading from 10.0.3 to 9.2.0.
However, I noticed there was a new release of RNVI 10.1.0. Would it be recommended to upgrade react-native
to >=0.71
in order to make it compatible to RNVI >=10.1.0
?
@JavanHuang You could give that a try, but I can't guarantee it will work as I'm not sure why it isn't currently working for you
Environment
Description
While trying to upgrade
react-native
from0.66
to0.70
in a monorepo setup, I was able to compile the webpage usingreact-native-web
but there was an uncaught TypeError that causes the webpage to display a white page.I suspect that the
lib/NativeRNVectorIcons.web.js
is not mockinglib/NativeRNVectorIcons.js
, not sure why at this point. Currently my only resolution for this would be to stick to RNVI9.2.0
. Upgradingreact-native-web
from0.18
to0.19
would be a huge change and I ideally do not want to go on with that at the moment since thereact-native
upgrade has been a tedious process.Hope this is enough information to help me diagnose my issue 😅 Thank you in advance. Please feel free to ask for more info if required.