-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
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,