Hoping for some response to this one.
For a new start, I made a new clone of the repository, and reinstalled node.js and npm (14.17.6 and 6.14.15). On the first run of npm install, I get pages like this.
Running NPM install to update dependencies
Mon Sep 20 11:20:59 2021
npm WARN deprecated mkd...@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated redux-devtool...@1.3.0: Package moved to @redux-devtools/log-monitor.
npm WARN deprecated redux-d...@3.4.0: Package moved to @redux-devtools/core.
npm WARN deprecated redux-devtool...@1.1.2: Package moved to @redux-devtools/dock-monitor.
npm WARN deprecated @carnesen/redux-add-action-...@0.0.1: This project has been abandoned
npm WARN deprecated @mapbox/geojs...@2.0.1: Please make plans to check GeoJSON in some other way
npm WARN deprecated @turf/ins...@4.1.0: Module has been renamed to @turf/boolean-point-in-polygon
npm WARN deprecated @turf/polygon-to...@4.1.0: Module has been renamed to @turf/polygon-to-line
npm WARN deprecated @turf/point-on...@4.1.0: Module has been renamed to @turf/point-on-feature
npm WARN deprecated draft-js-inline...@3.0.1: use @draft-js-plugins/inline-toolbar >=v4 instead
npm WARN deprecated draft-js-pl...@2.1.1: use @draft-js-plugins/editor >=v4 instead
npm WARN deprecated draft-js-side-...@3.0.1: use @draft-js-plugins/side-toolbar >=v4 instead
npm WARN deprecated json-...@2.1.2: Please upgrade to the latest version 3.x.x module for improved functionality.
npm WARN deprecated uu...@3.0.1: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated turf...@3.0.10: Turf packages are now namespaced: please use @turf/bbox instead
npm WARN deprecated turf-...@3.0.10: Turf packages are now namespaced: please use @turf/buffer instead
npm WARN deprecated turf-in...@3.0.10: Turf packages are now namespaced: please use @turf/intersect instead
npm WARN deprecated xml...@0.3.0: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated turf-...@3.0.10: Turf packages are now namespaced: please use @turf/union instead
npm WARN deprecated turf-point...@3.0.10: Turf packages are now namespaced: please use @turf/point-on-surface instead
npm WARN deprecated de...@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated chok...@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated redux-devtoo...@1.10.0: Package moved to @redux-devtools/instrument.
npm WARN deprecated xml...@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated @carnesen/che...@0.0.1: Obsoleted by TypeScript
npm WARN deprecated cor...@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated @turf/ins...@4.7.3: Module has been renamed to @turf/boolean-point-in-polygon
npm WARN deprecated draft-js...@2.0.2: use @draft-js-plugins/buttons >=v4 instead
npm WARN deprecated xml...@0.2.1: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated cor...@2.3.0: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated doc-...@1.2.0: critical issue fixed in 2.3.0
npm WARN deprecated cor...@2.4.1: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated query...@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated turf...@3.0.12: Turf packages are now namespaced: please use @turf/meta instead
npm WARN deprecated turf-c...@3.0.12: Turf packages are now namespaced: please use @turf/combine instead
npm WARN deprecated geojson-...@0.0.0: This module is now under the @mapbox namespace: install @mapbox/geojson-normalize instead
npm WARN deprecated turf-h...@3.0.12: Turf packages are now namespaced: please use @turf/helpers instead
npm WARN deprecated turf-e...@3.0.12: Turf packages are now namespaced: please use @turf/explode instead
npm WARN deprecated turf-...@3.0.12: Turf packages are now namespaced: please use @turf/inside instead
npm WARN deprecated turf-...@3.0.12: Turf packages are now namespaced: please use @turf/center instead
npm WARN deprecated turf-d...@3.0.12: Turf packages are now namespaced: please use @turf/distance instead
npm WARN deprecated uu...@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated de...@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated chok...@1.5.2: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsev...@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated nom...@1.8.1: Package no longer supported. Contact sup...@npmjs.com for more info. What is going on here? Can I really trust any result after this barrage of warnings? Who has the authority to amend and update all the deprecated components?
Needless to say, the build subsequently fails, due to not passed npm tests which have to be commented out from the build script.
FAILED TESTS:
Test locale related actions
× loads an existing translation file
Chrome Headless 93.0.4577.82 (Windows 10)
Error: Expected 'LOCALE_LOAD_ERROR' to be 'CHANGE_LOCALE'
at assert (webpack://mapstore2/./node_modules/expect/lib/assert.js?:29:9)
at Expectation.toBe (webpack://mapstore2/./node_modules/expect/lib/Expectation.js?:70:28)
at eval (webpack://mapstore2/./web/client/actions/__tests__/locale-test.js?:146:63)
at eval (webpack://mapstore2/./web/client/actions/locale.js?:1236:9)
at lib$es6$promise$$internal$$tryCatch (webpack://mapstore2/./node_modules/es6-promise/dist/es6-promise.js?:332:16)
at lib$es6$promise$$internal$$invokeCallback (webpack://mapstore2/./node_modules/es6-promise/dist/es6-promise.js?:344:17)
at lib$es6$promise$$internal$$publish (webpack://mapstore2/./node_modules/es6-promise/dist/es6-promise.js?:315:11)
at MutationObserver.lib$es6$promise$asap$$flush (webpack://mapstore2/./node_modules/es6-promise/dist/es6-promise.js?:126:9)
I am not too happy about the situation, since I want to build a stable environment for MapStore development and production.
Pleas respond, anyone competent enough to contribute.