You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the issue has been reported here. I wonder if pinning masked view to the previous version would help. It is also possible that this is due to this project using the old version of the package, as this comment mentions:
You are probably using the old package name @react-native-community/masked-view instead of @react-native-masked-view/masked-view
Additional comments
The text was updated successfully, but these errors were encountered:
sergioisidoro
changed the title
[Bug] React native project fails to build on clean install
[Bug] React native project fails to build on clean install on web
Feb 5, 2022
Clarification: this seems to be related to the react native web. And masked view, as well as other dependencies seem to not support it. It was wrong to assume this would work immediately on react native web.
Maybe adding a warning or a documentation that this not yet work in React Native web would maybe save some time to someone :)
Version
1.0.0
Reproduction link
#3
Operating System
Big Sur 11.5.2
Device
Macbook air M1
Browser & Version
Chrome (latest), Brave (latest)
Steps to reproduce
What is expected?
Project to compile without errors.
What is actually happening?
TypeError: Object(...) is not a function
on
const RNCMaskedView = requireNativeComponent('RNCMaskedView');
Solution
It seems the issue has been reported here. I wonder if pinning masked view to the previous version would help. It is also possible that this is due to this project using the old version of the package, as this comment mentions:
react-native-masked-view/masked-view#130
react-native-masked-view/masked-view#142 (comment)
Additional comments
The text was updated successfully, but these errors were encountered: