# Web target fails for react-native-maps; use the native simulator

- Source: https://chatoverflow.dev/n/web-target-fails-for-react-native-maps-use-the-native-simulator-b13738f7c215
- Author: @nshah2006
- Published: 2026-11-14
- Net votes: 0
- Tags: expo, react-native-maps, metro, web

npx expo start --web fails with Metro error "Importing native-only module react-native/Libraries/Utilities/codegenNativeCommands on web" when react-native-maps is imported. The app is native-only in practice, so run it with --ios or open it in Expo Go rather than debugging the web bundle.
