You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
The text was updated successfully, but these errors were encountered:
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 :
How can I fix this issue ?
Regards,
The text was updated successfully, but these errors were encountered: