GeoNode / geonode-mapstore-client

MapStore Client for GeoNode
http://geonode.org/geonode-mapstore-client/master
Other
15 stars 109 forks source link

Cannot GET /static/mapstore/dist/gn-map.js #971

Open rodolfolotte opened 2 years ago

rodolfolotte commented 2 years ago

After to deploy a geonode container and compiling geonode-mapstore-client (with 138 warnings):

...
********** post install **********
* not in project
remove in node_modules path /home/rodolfo/Git/lotte/geonode-mapstore-client/geonode_mapstore_client/client/MapStore2/node_modules
remove in node_modules path /home/rodolfo/Git/lotte/geonode-mapstore-client/geonode_mapstore_client/client/node_modules
* executing the copy of mocha
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for react-confirm-button@0.0.2: wanted: {"npm":"^3.0.0"} (current: {"node":null,"npm":"6.14.16"})
npm WARN notsup Not compatible with your version of node/npm: react-confirm-button@0.0.2
npm WARN react-reconciler@0.26.2 requires a peer of react@^17.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @geosolutions/react-joyride@1.10.2 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @geosolutions/react-joyride@1.10.2 requires a peer of react-dom@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @terrestris/ol-util@3.0.0 requires a peer of ol@~5.0 but none is installed. You must install peer dependencies yourself.
npm WARN connected-react-router@6.3.2 requires a peer of react@^16.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN ag-grid-react@20.2.0 requires a peer of react@^15.5.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ag-grid-react@20.2.0 requires a peer of react-dom@^15.5.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN draft-js-plugins-editor@2.1.1 requires a peer of draft-js@^0.10.1 but none is installed. You must install peer dependencies yourself.
npm WARN draft-js-plugins-editor@2.1.1 requires a peer of react@^15.5.0 || ^16.0.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN draft-js-plugins-editor@2.1.1 requires a peer of react-dom@^15.5.0 || ^16.0.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN geostyler-openlayers-parser@2.0.1 requires a peer of ol@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @terrestris/ol-util@4.1.3 requires a peer of ol@~6.5 but none is installed. You must install peer dependencies yourself.
npm WARN draft-js@0.11.0 requires a peer of react@^0.14.0 || ^15.0.0-rc || ^16.0.0-rc || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN draft-js@0.11.0 requires a peer of react-dom@^0.14.0 || ^15.0.0-rc || ^16.0.0-rc || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN draft-js-inline-toolbar-plugin@3.0.1 requires a peer of react@^15.5.0 || ^16.0.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN draft-js-inline-toolbar-plugin@3.0.1 requires a peer of react-dom@^15.5.0 || ^16.0.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN draft-js-side-toolbar-plugin@3.0.1 requires a peer of draft-js@^0.10.1 but none is installed. You must install peer dependencies yourself.
npm WARN draft-js-side-toolbar-plugin@3.0.1 requires a peer of react@^15.5.0 || ^16.0.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN draft-js-side-toolbar-plugin@3.0.1 requires a peer of react-dom@^15.5.0 || ^16.0.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN istanbul-instrumenter-loader@3.0.1 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @geosolutions/html-to-draftjs@1.5.1 requires a peer of immutable@3.x.x || 4.x.x but none is installed. You must install peer dependencies yourself.
npm WARN qrcode.react@0.9.3 requires a peer of react@^15.5.3 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-addons-css-transition-group@15.6.2 requires a peer of react@^15.4.2 but none is installed. You must install peer dependencies yourself.
npm WARN react-copy-to-clipboard@5.0.0 requires a peer of react@^15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-checkbox-tree@1.5.1 requires a peer of react@^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-codemirror2@4.0.0 requires a peer of react@>=15.5 <=16.x but none is installed. You must install peer dependencies yourself.
npm WARN react-confirm-button@0.0.2 requires a peer of react@^0.14.7 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-container-dimensions@1.3.2 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-container-dimensions@1.3.2 requires a peer of react-dom@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-data-grid@5.0.4 requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-data-grid@5.0.4 requires a peer of react-dom@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-data-grid-addons@5.0.4 requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-data-grid-addons@5.0.4 requires a peer of react-dom@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-dropzone@3.13.1 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-image-lightbox@4.2.2 requires a peer of react@^15.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-image-lightbox@4.2.2 requires a peer of react-dom@^15.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-error-boundary@1.2.5 requires a peer of react@^16.0.0-beta.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-intl@2.3.0 requires a peer of react@^0.14.9 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-input-autosize@1.1.4 requires a peer of react@^0.14 || ^15.0.0-rc || ^15.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-resize-detector@4.2.1 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-resize-detector@4.2.1 requires a peer of react-dom@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-quill@1.1.0 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-nouislider@2.0.1 requires a peer of react@^0.14.0 || ^15.0.1 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-notification-system@0.2.14 requires a peer of react@0.14.x || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-notification-system@0.2.14 requires a peer of react-dom@0.14.x || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-plotly.js@2.5.0 requires a peer of plotly.js@>1.34.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-redux@6.0.0 requires a peer of react@^16.4.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @geosolutions/react-draft-wysiwyg@1.14.8 requires a peer of immutable@3.x.x || 4.x.x but none is installed. You must install peer dependencies yourself.
npm WARN @geosolutions/react-draft-wysiwyg@1.14.8 requires a peer of react@0.13.x || 0.14.x || ^15.0.0-0 || 15.x.x || ^16.0.0-0 || ^16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN @geosolutions/react-draft-wysiwyg@1.14.8 requires a peer of react-dom@0.13.x || 0.14.x || ^15.0.0-0 || 15.x.x || ^16.0.0-0 || ^16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN react-select@1.3.0 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-select@1.3.0 requires a peer of react-dom@^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-input-autosize@2.2.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-share@1.15.1 requires a peer of react@0.13.x || 0.14.x || 15.x.x but none is installed. You must install peer dependencies yourself.
npm WARN recompose@0.24.0 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-swipeable-views@0.12.2 requires a peer of react@^15.0.0 || ^0.14.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-swipeable@5.5.1 requires a peer of react@^16.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN react-textfit@1.1.0 requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-textfit@1.1.0 requires a peer of react-dom@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-twitter-widgets@1.3.0 requires a peer of react@^15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-widgets@3.5.0 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-widgets@3.5.0 requires a peer of react-dom@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN recharts@0.22.4 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-resize-detector@0.4.1 requires a peer of react@^0.14.7 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN draft-js-buttons@2.0.2 requires a peer of react@^15.5.0 || ^16.0.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN draft-js-buttons@2.0.2 requires a peer of react-dom@^15.5.0 || ^16.0.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN decorate-component-with-props@1.1.0 requires a peer of react@^0.14.0 || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN find-with-regex@1.1.3 requires a peer of draft-js@^0.10.5 but none is installed. You must install peer dependencies yourself.
npm WARN react-transition-group@1.2.1 requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-transition-group@1.2.1 requires a peer of react-dom@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN draftjs-utils@0.10.2 requires a peer of immutable@3.x.x || 4.x.x but none is installed. You must install peer dependencies yourself.
npm WARN react-modal@1.9.7 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-modal@1.9.7 requires a peer of react-dom@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.5.2 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-event-listener@0.6.6 requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-smooth@0.3.0 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-smooth@0.3.0 requires a peer of react-dom@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-transition-group@1.1.3 requires a peer of react@^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-transition-group@1.1.3 requires a peer of react-dom@^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN babel-plugin-object-assign@1.2.1 requires a peer of babel-core@>=5.6.0 but none is installed. You must install peer dependencies yourself.
npm WARN copy-webpack-plugin@5.0.2 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-import@2.20.2 requires a peer of eslint@2.x - 6.x but none is installed. You must install peer dependencies yourself.
npm WARN file-loader@2.0.0 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN progress-bar-webpack-plugin@1.12.1 requires a peer of webpack@^1.3.0 || ^2 || ^3 || ^4 but none is installed. You must install peer dependencies yourself.
npm WARN react-motion@0.5.0 requires a peer of react@^0.14.9 || ^15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN redux-devtools@3.4.0 requires a peer of react@^0.14.9 || ^15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN redux-devtools@3.4.0 requires a peer of react-redux@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN redux-devtools-dock-monitor@1.1.2 requires a peer of react@^0.14.9 || ^15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN redux-devtools-log-monitor@1.3.0 requires a peer of react@^0.14.9 || ^15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN zip-webpack-plugin@3.0.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/eslint-parser@7.11.5 requires a peer of @babel/core@>=7.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-jsx@5.3.2 requires a peer of acorn@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-json-tree@0.10.9 requires a peer of react@^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-json-tree@0.10.9 requires a peer of react-dom@^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN geonode-mapstore-client@4.0.0 No repository field.

added 2746 packages from 2936 contributors in 189.326s

138 packages are looking for funding
  run `npm fund` for details

I'm still getting this message and the map simply does not load:

image

npm -> 6.14.16 node -> v12.22.10

Any hints?

DaftBrit commented 1 year ago

Did you ever solve this? I have exactly the same issues.

Cannot GET /static/mapstore/dist/gn-map.js

JS console: "GET https://xx.xx.xx.xx:8081/static/mapstore/dist/gn-map.js?geonode-mapstore-client-v3.2.1-d99a5bbbecca7f3f9e063eaaac38e403ebe5e401 net::ERR_ABORTED 404 (Not Found)"

No errors during webpack / compile.

Amanturov7 commented 1 year ago

Вы когда-нибудь решали это? У меня точно такие же проблемы.

Не удается получить /static/mapstore/dist/gn-map.js

Консоль JS: "GET https://xx.xx.xx.xx:8081/static/mapstore/dist/gn-map.js?geonode-mapstore-client-v3.2.1-d99a5bbbecca7f3f9e063eaaac38e403ebe5e401 net::ERR_ABORTED 404 (не найдено )"

Никаких ошибок во время webpack/компиляции.

did you solve the problem? I have the same problem