Open
Description
Hi! I've tried this library and setup all configs in the readme.
config.resolve.alias['react-native'] = 'react-native-web';
config.resolve.alias['react-native-maps'] = 'react-native-web-maps';
I am currently facing below error while running on web.
Web Bundling failed 6794ms
Unable to resolve "../Utilities/Platform" from "node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInterface.js"
Import stack:
node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInterface.js
| import "../Utilities/Platform"
node_modules/react-native/Libraries/Renderer/shims/ReactFabric.js
| import "react-native/Libraries/ReactPrivate/ReactNativePrivateInterface"
node_modules/react-native/Libraries/ReactNative/RendererImplementation.js
| import "../Renderer/shims/ReactFabric"
node_modules/react-native/Libraries/ReactNative/RendererProxy.js
| import "./RendererImplementation"
node_modules/react-native/Libraries/Utilities/codegenNativeCommands.js
| import "../ReactNative/RendererProxy"
node_modules/react-native-maps/lib/MapMarkerNativeComponent.js
| import "react-native/Libraries/Utilities/codegenNativeCommands"
Importing react-native internals is not supported on web.
node_modules/react-native-maps/lib/MapMarker.js
| import "./MapMarkerNativeComponent"
node_modules/react-native-maps/lib/index.js
| import "./MapMarker"
app/view/map.tsx
| import "react-native-maps"
app (require.context)
src/Details/Home/index.tsx
| import "react-native-maps"
app/mission/[missionId]/index.tsx
| import "../../../src/Details/Home"
app (require.context)
I also posted the issue in expo/expo#23412 (comment)
May I get help on the issue?
Metadata
Metadata
Assignees
Labels
No labels