Open
Description
Version
1.0.0
Reproduction link
Operating System
Big Sur 11.5.2
Device
Macbook air M1
Browser & Version
Chrome (latest), Brave (latest)
Steps to reproduce
- Download repo
- yarn install
- expo stat
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)
You are probably using the old package name @react-native-community/masked-view instead of @react-native-masked-view/masked-view
Additional comments
Metadata
Metadata
Assignees
Labels
No labels