React-native/Libraries/Image/AssetRegistry is introduced in the Platform.web.js file, but an error will be reported when using react-native-web, because the AssetRegistry file does not exist in react-native-web and has been replaced in react-native. @react-native/assets-registry/registry
Snack, code example, screenshot, or link to a repository
✘ [ERROR] Could not read from file: /Users/dppo/Projects/Yunlu/YunluApp/react-native-web/Libraries/Image/AssetRegistry
node_modules/@shopify/react-native-skia/lib/module/Platform/Platform.web.js:132:20:
132 │ } = require("react-native/Libraries/Image/AssetRegistry");
Description
React-native/Libraries/Image/AssetRegistry
is introduced in thePlatform.web.js
file, but an error will be reported when usingreact-native-web,
because theAssetRegistry
file does not exist in react-native-web and has been replaced in react-native.@react-native/assets-registry/registry
Version
latest
Steps to reproduce
Snack, code example, screenshot, or link to a repository