Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 534 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 534 Bytes

maplibre/maplibre-react-native#414

git clone [email protected]:timbtimbtimb/reactnative-maplibre-web-bug.git
cd reactnative-maplibre-web-bug
npm install --includeDev
npm run web

You should be getting the following error

Metro error: (0 , _index.requireNativeComponent) is not a function

  619 | );
  620 |
> 621 | const RCTMLNCamera = requireNativeComponent<NativeProps>(NATIVE_MODULE_NAME);
      |                                            ^
  622 |
  623 | export default Camera;
  624 |