Hi,
I made a custom project with mapstore 2021.01.01.
Using the migration guidelines
https://mapstore.readthedocs.io/en/latest/developer-guide/mapstore-migration-guide/
I failed on npm start with error:
ERROR in ./MapStore2/web/client/observables/config/getPluginsConfig.js
4:0-54
Module not found: Error: Can't resolve '@mapstore/patcher' in
'D:\projekte\mapstore\mapstore_velbert\MapStore2\web\client\observables\config'
@ ./MapStore2/web/client/epics/contextcreator.js 37:0-70 295:103-119
@ ./MapStore2/web/client/plugins/ContextCreator.jsx 17:0-49 140:2-7
@ ./MapStore2/web/client/product/plugins.js 34:26-70
@ ./js/app.jsx 52:16-60
ERROR in ./MapStore2/web/client/utils/ConfigUtils.js 20:0-54
Module not found: Error: Can't resolve '@mapstore/patcher' in
'D:\projekte\mapstore\mapstore_velbert\MapStore2\web\client\utils'
@ ./js/dashboardEmbedded.jsx 8:0-87 15:0-13 16:0-13 23:0-25
How to install @mapstore/patcher ?
Doing npm install I receive more errors
D:\projekte\mapstore\mapstore_velbert>npm install @mapstore/patcher
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: mapstore...@1.0.0
npm ERR! Found: esl...@7.8.1
npm ERR! node_modules/eslint
Is it better to start a blank new custom project?
Where do I start to unserstand the build and configuration process?
Any hints on further reading understanding webpack and npm in the
context of mapstore?
Thanks
Stefan
--
Dipl. Ing. Stefan Overkamp
over...@posteo.de