Skip to content

jsx in index.js causing compiling error #25

@ghost

Description

I'm trying to use the library in a project created by create-react-app. There's a JSX at line 135.

Error in ./~/@mapbox/react-geocoder/index.js
Module parse failed: ob-ocm/node_modules/@mapbox/react-geocoder/index.js Unexpected token (135:16)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (135:16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions