Skip to content

Example App.tsx not rendering MapView #8

@wilkosz

Description

@wilkosz

Attempting to rendering in both a personal application as well as the cloned example app is breaking.

index.js:1 ./node_modules/@teovilla/react-native-web-maps/src/utils/region.ts 1:12
Module parse failed: Unexpected token (1:12)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> import type { BBox } from 'geojson';
| import type { Region } from 'react-native-maps';
|

Steps to replicate

$ git clone https://github.com/teovillanueva/react-native-web-maps.git
$ cd react-native-web-maps/example
$ yarn add @teovilla/react-native-web-maps
$ expo start --web

Environment

node: v16.17.0
yarn: 1.22.17
expo: 6.0.5
platform: macOS Monterey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions