Closed adelbeke closed 2 years ago
Same here
If you are sure the module exists, try these steps:
1. Clear watchman watches: watchman watch-del-all
2. Delete node_modules and run yarn install
3. Reset Metro's cache: yarn start --reset-cache
4. Remove the cache: rm -rf /tmp/metro-*
> 1 | import { requireNativeViewManager } from '@unimodules/core';
| ^
2 | const NativeLinearGradient = requireNativeViewManager('ExpoLinearGradient');
3 | export default NativeLinearGradient;
4 | //# sourceMappingURL=NativeLinearGradient.ios.js.map
Looks like the issue is caused by expo-linear-gradient v9.2.0 using unimodules. Updating to the latest version fixes this. Might be a good idea to add both expo-linear-gradient and react-native-reanimated as peer dependancies.
For now feel free to use this fork: https://github.com/sayav/react-native-skeleton-content.
yarn add react-native-skeleton-content@git://github.com/sayav/react-native-skeleton-content
Describe the bug Hello Alex,
This error comes when we want to use the package with Expo SDK 43, have you the possibility to fix it ?