-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SkeletonPlaceholder.js seems to be importing "@react-native-community/masked-view" @ v4.0.0. #41
Comments
Yeah, i've the same problem. expecting them to change to masked-view since it still has performance issues. |
+1 |
Hey guys, I'll check this |
+1 |
Hello, I had the same situation, and i solved it by the change below. Solution:in node_modules/react-native-skeleton-placeholder/lib/SkeletonPlaceholder.js before : It seemed to be happened with #37 . I hope it could help someone. |
I solved this issue with: First, try to install:
And run project. If an error occurs, like: While trying to resolve module react-native-skeleton-placeholder from file xxxxx, .... I make this pull request #50 |
I think the https://cdn.jsdelivr.net/npm/[email protected]/lib/SkeletonPlaceholder.js (search for Does not match the source of https://github.com/chramos/react-native-skeleton-placeholder/blob/master/src/SkeletonPlaceholder.tsx. @chramos mind publishing the library again? |
Can someone clarify if we need @react-native-masked-view/masked-view or @react-native-community/masked-view? Having both in the package.json is causing mergeDex error when building for android. |
I used @react-native-community/masked-view, seems to work fine for now. |
I have the same issue. |
Hi! This fix will be uploaded? Because I'm still facing this error. |
Version 5.0 uses |
I think I am having conflict issues between @react-native-community/masked-view and @react-native-masked-view/masked-view - 'Invariant Violation: Tried to register two views with the same name RNCMaskedView, js engine: hermes' But I am using react-navigation which has @react-native-community/masked-view as a dependency so I can't remove it. Can they coexist? Surely, I am not the only person using react navigation. |
I am getting the same error in version 5. I have followed the below step Installed Masked view and linear gradient libraries before Below is SkeletonPlaceholder.js const masked_view_1 = __importDefault(require("@react-native-masked-view/masked-view")); But still I am getting below : |
Same issue here as @MaganAnkur |
more 1 here 🪂 |
I removed @react-native-masked-view/masked-view and restart then fix error |
Note: This package requires @react-native-masked-view/masked-view and react-native-linear-gradient |
Got the following error on version
4.0.0
Unable to resolve module @react-native-community/masked-view from ... /lib/SkeletonPlaceholder.js: @react-native-community/masked-view could not be found within project
Version: 4.0.0
The text was updated successfully, but these errors were encountered: