Skip to content

@mapstore/patcher not found #15

Description

@mgogh

Hi,

I'm trying to create an Extension where I need to import "getNormalizedLatLon" method from '@mapstore/utils/CoordinatesUtils'.

I've just clone the MapStoreExtension repo and follow what is written in the documentation.
I then add the following line in the "js/extension/plugins/Extension.jsx"
import { getNormalizedLatLon } from '@mapstore/utils/CoordinatesUtils';

I directly encounter an error when I try to build the extension :

Module not found: Error: Can't resolve '@mapstore/patcher' in '.\MapStoreExtension\MapStore2\web\client\utils'
@ ./MapStore2/web/client/utils/CoordinatesUtils.js 32:0-46 1102:23-36
@ ./js/extension/plugins/Extension.jsx 6:0-71
@ container entry

How can I fix this issue ?

Regards,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions