mattermost / mattermost-plugin-starter-template

Build scripts and templates for writing Mattermost plugins.
https://developers.mattermost.com/extend/plugins/
Apache License 2.0
128 stars 120 forks source link

Make fails with the current Node.js version (v17.9.0) #165

Closed scriptdealer closed 1 year ago

scriptdealer commented 2 years ago

Hello guys, what's up with this repo, is it obsolete ? I've got a multiple "deprecated dependency" warnings and then make command fails. How should I start developing my plugin ?

Log here:

cd webapp && /usr/bin/npm install
npm WARN old lockfile 
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile 
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile 
npm WARN old lockfile Error: git dep preparation failed
npm WARN old lockfile     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm WARN old lockfile     at ChildProcess.emit (node:events:527:28)
npm WARN old lockfile     at maybeClose (node:internal/child_process:1090:16)
npm WARN old lockfile     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm WARN old lockfile  Could not fetch metadata for mattermost-webapp@git+ssh://git@github.com/mattermost/mattermost-webapp.git#23f5f93d9f12a7e2b5623e5cee6814366abd9a0f Error: git dep preparation failed
npm WARN old lockfile     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm WARN old lockfile     at ChildProcess.emit (node:events:527:28)
npm WARN old lockfile     at maybeClose (node:internal/child_process:1090:16)
npm WARN old lockfile     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
npm WARN old lockfile   cmd: '/usr/bin/node',
npm WARN old lockfile   args: [
npm WARN old lockfile     '/usr/lib/node_modules/npm/bin/npm-cli.js',
npm WARN old lockfile     'install',
npm WARN old lockfile     '--force',
npm WARN old lockfile     '--cache=/home/deus/.npm',
npm WARN old lockfile     '--prefer-offline=false',
npm WARN old lockfile     '--prefer-online=false',
npm WARN old lockfile     '--offline=false',
npm WARN old lockfile     '--no-progress',
npm WARN old lockfile     '--no-save',
npm WARN old lockfile     '--no-audit',
npm WARN old lockfile     '--include=dev',
npm WARN old lockfile     '--include=peer',
npm WARN old lockfile     '--include=optional',
npm WARN old lockfile     '--no-package-lock-only',
npm WARN old lockfile     '--no-dry-run'
npm WARN old lockfile   ],
npm WARN old lockfile   code: 1,
npm WARN old lockfile   signal: null,
npm WARN old lockfile   stdout: '',
npm WARN old lockfile   stderr: 'npm WARN using --force Recommended protections disabled.\n' +
npm WARN old lockfile     'npm WARN old lockfile \n' +
npm WARN old lockfile     'npm WARN old lockfile The package-lock.json file was created with an old version of npm,\n' +
npm WARN old lockfile     'npm WARN old lockfile so supplemental metadata must be fetched from the registry.\n' +
npm WARN old lockfile     'npm WARN old lockfile \n' +
npm WARN old lockfile     'npm WARN old lockfile This is a one-time fix-up, please be patient...\n' +
npm WARN old lockfile     'npm WARN old lockfile \n' +
npm WARN old lockfile     'npm WARN old lockfile Error: git dep preparation failed\n' +
npm WARN old lockfile     'npm WARN old lockfile     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)\n' +
npm WARN old lockfile     'npm WARN old lockfile     at ChildProcess.emit (node:events:527:28)\n' +
npm WARN old lockfile     'npm WARN old lockfile     at maybeClose (node:internal/child_process:1090:16)\n' +
npm WARN old lockfile     'npm WARN old lockfile     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)\n' +
npm WARN old lockfile     'npm WARN old lockfile  Could not fetch metadata for mmjstool@git+ssh://git@github.com/mattermost/mattermost-utilities.git#89543752e9c3b7fe4ad41d3af3821d3923198c20 Error: git dep preparation failed\n' +
npm WARN old lockfile     'npm WARN old lockfile     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)\n' +
npm WARN old lockfile     'npm WARN old lockfile     at ChildProcess.emit (node:events:527:28)\n' +
npm WARN old lockfile     'npm WARN old lockfile     at maybeClose (node:internal/child_process:1090:16)\n' +
npm WARN old lockfile     'npm WARN old lockfile     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {\n' +
npm WARN old lockfile     "npm WARN old lockfile   cmd: '/usr/bin/node',\n" +
npm WARN old lockfile     'npm WARN old lockfile   args: [\n' +
npm WARN old lockfile     "npm WARN old lockfile     '/usr/lib/node_modules/npm/bin/npm-cli.js',\n" +
npm WARN old lockfile     "npm WARN old lockfile     'install',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--force',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--cache=/home/deus/.npm',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--prefer-offline=false',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--prefer-online=false',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--offline=false',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--no-progress',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--no-save',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--no-audit',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--include=dev',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--include=peer',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--include=optional',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--no-package-lock-only',\n" +
npm WARN old lockfile     "npm WARN old lockfile     '--no-dry-run'\n" +
npm WARN old lockfile     'npm WARN old lockfile   ],\n' +
npm WARN old lockfile     'npm WARN old lockfile   code: 1,\n' +
npm WARN old lockfile     'npm WARN old lockfile   signal: null,\n' +
npm WARN old lockfile     "npm WARN old lockfile   stdout: '\\n> mmjstool@1.0.0 prepare\\n> webpack\\n\\n',\n" +
npm WARN old lockfile     "npm WARN old lockfile   stderr: 'npm WARN using --force Recommended protections disabled.\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN old lockfile \\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN old lockfile The package-lock.json file was created with an old version of npm,\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN old lockfile so supplemental metadata must be fetched from the registry.\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN old lockfile \\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN old lockfile This is a one-time fix-up, please be patient...\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN old lockfile \\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated set-value@0.4.3: Critical bug fixed in v3.0.1, please upgrade to the latest version.\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated set-value@2.0.0: Critical bug fixed in v3.0.1, please upgrade to the latest version.\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated mixin-deep@1.3.1: Critical bug fixed in v2.0.1, please upgrade to the latest version.\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated har-validator@5.1.3: this library is no longer supported\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated chokidar@2.0.4: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated debug@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)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated debug@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)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated debug@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)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated babel-eslint@10.0.1: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated uuid@3.3.2: 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.\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated source-map-resolve@0.5.2: See https://github.com/lydell/source-map-resolve#deprecated\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated mkdirp@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.)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142\\n' +\n" +
npm WARN old lockfile     `npm WARN old lockfile     "npm WARN deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer\\n" +\n` +
npm WARN old lockfile     "npm WARN old lockfile     'npm WARN deprecated core-js@2.6.2: core-js@<3.4 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.\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'node:internal/crypto/hash:67\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '  this[kHandle] = new _Hash(algorithm, xofLen);\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '                  ^\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'Error: error:0308010C:digital envelope routines::unsupported\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at new Hash (node:internal/crypto/hash:67:19)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at Object.createHash (node:crypto:135:10)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at module.exports (/home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/webpack/lib/util/createHash.js:90:53)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at NormalModule._initBuildHash (/home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/webpack/lib/NormalModule.js:401:16)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at handleParseError (/home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/webpack/lib/NormalModule.js:449:10)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at /home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/webpack/lib/NormalModule.js:481:5\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at /home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/webpack/lib/NormalModule.js:342:12\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at /home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/loader-runner/lib/LoaderRunner.js:373:3\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at iterateNormalLoaders (/home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/loader-runner/lib/LoaderRunner.js:214:10)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at Array.<anonymous> (/home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/loader-runner/lib/LoaderRunner.js:205:4)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at Storage.finished (/home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at /home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at /home/deus/.npm/_cacache/tmp/git-cloneOflplg/node_modules/graceful-fs/graceful-fs.js:90:16\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {\\n' +\n" +
npm WARN old lockfile     `npm WARN old lockfile     "  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],\\n" +\n` +
npm WARN old lockfile     `npm WARN old lockfile     "  library: 'digital envelope routines',\\n" +\n` +
npm WARN old lockfile     `npm WARN old lockfile     "  reason: 'unsupported',\\n" +\n` +
npm WARN old lockfile     `npm WARN old lockfile     "  code: 'ERR_OSSL_EVP_UNSUPPORTED'\\n" +\n` +
npm WARN old lockfile     "npm WARN old lockfile     '}\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'Node.js v17.9.0\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm ERR! code 1\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm ERR! path /home/deus/.npm/_cacache/tmp/git-cloneOflplg\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm ERR! command failed\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm ERR! command sh -c webpack\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     '\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm ERR! A complete log of this run can be found in:\\n' +\n" +
npm WARN old lockfile     "npm WARN old lockfile     'npm ERR!     /home/deus/.npm/_logs/2022-04-15T10_14_45_794Z-debug-0.log\\n'\n" +
npm WARN old lockfile     'npm WARN old lockfile }\n' +
npm WARN old lockfile     'npm WARN deprecated ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue\n' +
npm WARN old lockfile     'npm WARN deprecated urix@0.1.0: Please see htt'... 15117 more characters
npm WARN old lockfile }
npm WARN deprecated @types/react-intl@3.0.0: This is a stub types definition. react-intl provides its own type definitions, so you do not need this installed.
npm WARN deprecated request-promise-native@1.0.8: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.3: this library is no longer supported
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated debug@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 debug@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 debug@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 debug@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 debug@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 debug@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 debug@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 debug@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 querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated remotedev-serialize@0.1.9: Package moved to @redux-devtools/serialize.
npm WARN deprecated redux-devtools-instrument@1.10.0: Package moved to @redux-devtools/instrument.
npm WARN deprecated redux-devtools-core@0.2.1: Package moved to @redux-devtools/app.
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated formidable@1.2.1: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated uuid@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 uuid@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 uuid@3.2.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 source-map-resolve@0.5.2: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated rudder-sdk-js@1.0.6: 1.x.x versions of the SDK are deprecated. Please upgrade to the latest (2.x.x) version
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @babel/polyfill@7.10.4: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
npm WARN deprecated intl-messageformat-parser@1.4.0: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
npm WARN deprecated superagent@5.1.0: Please upgrade to v7.0.2+ of superagent.  We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing.  See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.
npm WARN deprecated popper.js@1.15.0: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm WARN deprecated highlight.js@9.15.8: Version no longer supported. Upgrade to @latest
npm WARN deprecated intl-relativeformat@2.2.0: This package has been deprecated, please see migration guide at 'https://github.com/formatjs/formatjs/tree/master/packages/intl-relativeformat#migration-guide'
npm WARN deprecated core-js@1.2.7: core-js@<3.4 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 core-js@3.1.4: core-js@<3.4 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 core-js@2.6.11: core-js@<3.4 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 core-js@2.6.11: core-js@<3.4 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 core-js@2.6.11: core-js@<3.4 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 ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/deus/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm WARN old lockfile 
npm ERR! npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm ERR! npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm ERR! npm WARN old lockfile 
npm ERR! npm WARN old lockfile This is a one-time fix-up, please be patient...
npm ERR! npm WARN old lockfile 
npm ERR! npm WARN old lockfile Error: git dep preparation failed
npm ERR! npm WARN old lockfile     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm ERR! npm WARN old lockfile     at ChildProcess.emit (node:events:527:28)
npm ERR! npm WARN old lockfile     at maybeClose (node:internal/child_process:1090:16)
npm ERR! npm WARN old lockfile     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! npm WARN old lockfile  Could not fetch metadata for mmjstool@git+ssh://git@github.com/mattermost/mattermost-utilities.git#89543752e9c3b7fe4ad41d3af3821d3923198c20 Error: git dep preparation failed
npm ERR! npm WARN old lockfile     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm ERR! npm WARN old lockfile     at ChildProcess.emit (node:events:527:28)
npm ERR! npm WARN old lockfile     at maybeClose (node:internal/child_process:1090:16)
npm ERR! npm WARN old lockfile     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
npm ERR! npm WARN old lockfile   cmd: '/usr/bin/node',
npm ERR! npm WARN old lockfile   args: [
npm ERR! npm WARN old lockfile     '/usr/lib/node_modules/npm/bin/npm-cli.js',
npm ERR! npm WARN old lockfile     'install',
npm ERR! npm WARN old lockfile     '--force',
npm ERR! npm WARN old lockfile     '--cache=/home/deus/.npm',
npm ERR! npm WARN old lockfile     '--prefer-offline=false',
npm ERR! npm WARN old lockfile     '--prefer-online=false',
npm ERR! npm WARN old lockfile     '--offline=false',
npm ERR! npm WARN old lockfile     '--no-progress',
npm ERR! npm WARN old lockfile     '--no-save',
npm ERR! npm WARN old lockfile     '--no-audit',
npm ERR! npm WARN old lockfile     '--include=dev',
npm ERR! npm WARN old lockfile     '--include=peer',
npm ERR! npm WARN old lockfile     '--include=optional',
npm ERR! npm WARN old lockfile     '--no-package-lock-only',
npm ERR! npm WARN old lockfile     '--no-dry-run'
npm ERR! npm WARN old lockfile   ],
npm ERR! npm WARN old lockfile   code: 1,
npm ERR! npm WARN old lockfile   signal: null,
npm ERR! npm WARN old lockfile   stdout: '\n> mmjstool@1.0.0 prepare\n> webpack\n\n',
npm ERR! npm WARN old lockfile   stderr: 'npm WARN using --force Recommended protections disabled.\n' +
npm ERR! npm WARN old lockfile     'npm WARN old lockfile \n' +
npm ERR! npm WARN old lockfile     'npm WARN old lockfile The package-lock.json file was created with an old version of npm,\n' +
npm ERR! npm WARN old lockfile     'npm WARN old lockfile so supplemental metadata must be fetched from the registry.\n' +
npm ERR! npm WARN old lockfile     'npm WARN old lockfile \n' +
npm ERR! npm WARN old lockfile     'npm WARN old lockfile This is a one-time fix-up, please be patient...\n' +
npm ERR! npm WARN old lockfile     'npm WARN old lockfile \n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated set-value@0.4.3: Critical bug fixed in v3.0.1, please upgrade to the latest version.\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated set-value@2.0.0: Critical bug fixed in v3.0.1, please upgrade to the latest version.\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated mixin-deep@1.3.1: Critical bug fixed in v2.0.1, please upgrade to the latest version.\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated har-validator@5.1.3: this library is no longer supported\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated chokidar@2.0.4: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated debug@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)\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated debug@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)\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated debug@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)\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated babel-eslint@10.0.1: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated uuid@3.3.2: 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.\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated source-map-resolve@0.5.2: See https://github.com/lydell/source-map-resolve#deprecated\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated mkdirp@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.)\n' +
npm ERR! npm WARN old lockfile     'npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142\n' +
npm ERR! npm WARN old lockfile     "npm WARN deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer\n" +
npm ERR! npm WARN old lockfile     'npm WARN deprecated core-js@2.6.2: core-js@<3.4 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.\n' +
npm ERR! npm WARN old lockfile     'node:internal/crypto/hash:67\n' +
npm ERR! npm WARN old lockfile     '  this[kHandle] = new _Hash(algorithm, xofLen);\n' +
npm ERR! npm WARN old lockfile     '                  ^\n' +
npm ERR! npm WARN old lockfile     '\n' +
npm ERR! npm WARN old lockfile     'Error: error:0308010C:digital envelope routines::unsupported\n' +
npm ERR! npm WARN old lockfile     '    at new Hash (node:internal/crypto/hash:67:19)\n' +
npm ERR! npm WARN old lockfile     '    at Object.createHash (node:crypto:135:10)\n' +
npm ERR! npm WARN old lockfile     '    at module.exports (/home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/webpack/lib/util/createHash.js:90:53)\n' +
npm ERR! npm WARN old lockfile     '    at NormalModule._initBuildHash (/home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/webpack/lib/NormalModule.js:401:16)\n' +
npm ERR! npm WARN old lockfile     '    at handleParseError (/home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/webpack/lib/NormalModule.js:449:10)\n' +
npm ERR! npm WARN old lockfile     '    at /home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/webpack/lib/NormalModule.js:481:5\n' +
npm ERR! npm WARN old lockfile     '    at /home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/webpack/lib/NormalModule.js:342:12\n' +
npm ERR! npm WARN old lockfile     '    at /home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/loader-runner/lib/LoaderRunner.js:373:3\n' +
npm ERR! npm WARN old lockfile     '    at iterateNormalLoaders (/home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/loader-runner/lib/LoaderRunner.js:214:10)\n' +
npm ERR! npm WARN old lockfile     '    at Array.<anonymous> (/home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/loader-runner/lib/LoaderRunner.js:205:4)\n' +
npm ERR! npm WARN old lockfile     '    at Storage.finished (/home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)\n' +
npm ERR! npm WARN old lockfile     '    at /home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9\n' +
npm ERR! npm WARN old lockfile     '    at /home/deus/.npm/_cacache/tmp/git-clonem8CqAB/node_modules/graceful-fs/graceful-fs.js:90:16\n' +
npm ERR! npm WARN old lockfile     '    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {\n' +
npm ERR! npm WARN old lockfile     "  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],\n" +
npm ERR! npm WARN old lockfile     "  library: 'digital envelope routines',\n" +
npm ERR! npm WARN old lockfile     "  reason: 'unsupported',\n" +
npm ERR! npm WARN old lockfile     "  code: 'ERR_OSSL_EVP_UNSUPPORTED'\n" +
npm ERR! npm WARN old lockfile     '}\n' +
npm ERR! npm WARN old lockfile     '\n' +
npm ERR! npm WARN old lockfile     'Node.js v17.9.0\n' +
npm ERR! npm WARN old lockfile     'npm ERR! code 1\n' +
npm ERR! npm WARN old lockfile     'npm ERR! path /home/deus/.npm/_cacache/tmp/git-clonem8CqAB\n' +
npm ERR! npm WARN old lockfile     'npm ERR! command failed\n' +
npm ERR! npm WARN old lockfile     'npm ERR! command sh -c webpack\n' +
npm ERR! npm WARN old lockfile     '\n' +
npm ERR! npm WARN old lockfile     'npm ERR! A complete log of this run can be found in:\n' +
npm ERR! npm WARN old lockfile     'npm ERR!     /home/deus/.npm/_logs/2022-04-15T10_19_47_524Z-debug-0.log\n'
npm ERR! npm WARN old lockfile }
npm ERR! npm WARN deprecated ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue
npm ERR! npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm ERR! npm WARN deprecated request-promise-native@1.0.7: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm ERR! npm WARN deprecated har-validator@5.1.3: this library is no longer supported
npm ERR! npm WARN deprecated har-validator@5.0.3: this library is no longer supported
npm ERR! npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! npm WARN deprecated remotedev-serialize@0.1.8: Package moved to @redux-devtools/serialize.
npm ERR! npm WARN deprecated redux-devtools-instrument@1.9.6: Package moved to @redux-devtools/instrument.
npm ERR! npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm ERR! npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated
npm ERR! npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated chokidar@2.1.6: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated debug@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 ERR! npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm ERR! npm WARN deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported
npm ERR! npm WARN deprecated redux-devtools-core@0.2.1: Package moved to @redux-devtools/app.
npm ERR! npm WARN deprecated babel-eslint@10.0.2: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm ERR! npm WARN deprecated formidable@1.2.1: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm ERR! npm WARN deprecated uuid@3.2.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 ERR! npm WARN deprecated uuid@3.3.2: 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 ERR! npm WARN deprecated source-map-resolve@0.5.2: See https://github.com/lydell/source-map-resolve#deprecated
npm ERR! npm WARN deprecated mkdirp@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 ERR! npm WARN deprecated request@2.87.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! npm WARN deprecated intl-messageformat-parser@1.4.0: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
npm ERR! npm WARN deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer
npm ERR! npm WARN deprecated superagent@5.1.0: Please upgrade to v7.0.2+ of superagent.  We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing.  See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.
npm ERR! npm WARN deprecated svgo@1.3.0: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm ERR! npm WARN deprecated popper.js@1.15.0: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm ERR! npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! npm WARN deprecated highlight.js@9.15.8: Version no longer supported. Upgrade to @latest
npm ERR! npm WARN deprecated intl-relativeformat@2.1.0: This package has been deprecated, please see migration guide at 'https://github.com/formatjs/formatjs/tree/master/packages/intl-relativeformat#migration-guide'
npm ERR! npm WARN deprecated core-js@1.2.7: core-js@<3.4 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 ERR! npm WARN deprecated core-js@3.1.4: core-js@<3.4 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 ERR! npm WARN deprecated core-js@2.6.5: core-js@<3.4 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 ERR! npm WARN deprecated core-js@2.6.9: core-js@<3.4 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 ERR! npm ERR! code 1
npm ERR! npm ERR! git dep preparation failed
npm ERR! npm ERR! command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/deus/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm ERR! > mmjstool@1.0.0 prepare
npm ERR! npm ERR! > webpack
npm ERR! npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! npm WARN old lockfile 
npm ERR! npm ERR! npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm ERR! npm ERR! npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm ERR! npm ERR! npm WARN old lockfile 
npm ERR! npm ERR! npm WARN old lockfile This is a one-time fix-up, please be patient...
npm ERR! npm ERR! npm WARN old lockfile 
npm ERR! npm ERR! npm WARN deprecated set-value@0.4.3: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm ERR! npm ERR! npm WARN deprecated set-value@2.0.0: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm ERR! npm ERR! npm WARN deprecated mixin-deep@1.3.1: Critical bug fixed in v2.0.1, please upgrade to the latest version.
npm ERR! npm ERR! npm WARN deprecated ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue
npm ERR! npm ERR! npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm ERR! npm ERR! npm WARN deprecated har-validator@5.1.3: this library is no longer supported
npm ERR! npm ERR! npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! npm ERR! npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated
npm ERR! npm ERR! npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm ERR! npm ERR! npm WARN deprecated chokidar@2.0.4: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm ERR! npm ERR! npm WARN deprecated debug@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 ERR! npm ERR! npm WARN deprecated debug@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 ERR! npm ERR! npm WARN deprecated debug@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 ERR! npm ERR! npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm ERR! npm ERR! npm WARN deprecated babel-eslint@10.0.1: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm ERR! npm ERR! npm WARN deprecated uuid@3.3.2: 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 ERR! npm ERR! npm WARN deprecated source-map-resolve@0.5.2: See https://github.com/lydell/source-map-resolve#deprecated
npm ERR! npm ERR! npm WARN deprecated mkdirp@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 ERR! npm ERR! npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! npm ERR! npm WARN deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer
npm ERR! npm ERR! npm WARN deprecated core-js@2.6.2: core-js@<3.4 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 ERR! npm ERR! node:internal/crypto/hash:67
npm ERR! npm ERR!   this[kHandle] = new _Hash(algorithm, xofLen);
npm ERR! npm ERR!                   ^
npm ERR! npm ERR! 
npm ERR! npm ERR! Error: error:0308010C:digital envelope routines::unsupported
npm ERR! npm ERR!     at new Hash (node:internal/crypto/hash:67:19)
npm ERR! npm ERR!     at Object.createHash (node:crypto:135:10)
npm ERR! npm ERR!     at module.exports (/home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/webpack/lib/util/createHash.js:90:53)
npm ERR! npm ERR!     at NormalModule._initBuildHash (/home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/webpack/lib/NormalModule.js:401:16)
npm ERR! npm ERR!     at handleParseError (/home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/webpack/lib/NormalModule.js:449:10)
npm ERR! npm ERR!     at /home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/webpack/lib/NormalModule.js:481:5
npm ERR! npm ERR!     at /home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/webpack/lib/NormalModule.js:342:12
npm ERR! npm ERR!     at /home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/loader-runner/lib/LoaderRunner.js:373:3
npm ERR! npm ERR!     at iterateNormalLoaders (/home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
npm ERR! npm ERR!     at Array.<anonymous> (/home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
npm ERR! npm ERR!     at Storage.finished (/home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)
npm ERR! npm ERR!     at /home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9
npm ERR! npm ERR!     at /home/deus/.npm/_cacache/tmp/git-clone3RM4fz/node_modules/graceful-fs/graceful-fs.js:90:16
npm ERR! npm ERR!     at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
npm ERR! npm ERR!   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
npm ERR! npm ERR!   library: 'digital envelope routines',
npm ERR! npm ERR!   reason: 'unsupported',
npm ERR! npm ERR!   code: 'ERR_OSSL_EVP_UNSUPPORTED'
npm ERR! npm ERR! }
npm ERR! npm ERR! 
npm ERR! npm ERR! Node.js v17.9.0
npm ERR! npm ERR! npm ERR! code 1
npm ERR! npm ERR! npm ERR! path /home/deus/.npm/_cacache/tmp/git-clone3RM4fz
npm ERR! npm ERR! npm ERR! command failed
npm ERR! npm ERR! npm ERR! command sh -c webpack
npm ERR! npm ERR! 
npm ERR! npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR! npm ERR!     /home/deus/.npm/_logs/2022-04-15T10_22_12_611Z-debug-0.log
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /home/deus/.npm/_logs/2022-04-15T10_19_07_943Z-debug-0.log

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/deus/.npm/_logs/2022-04-15T10_14_07_632Z-debug-0.log
make: *** [Makefile:92: webapp/node_modules] Error 1

This is clean Ubuntu 20.04 LTS with latest Golang and Node.js installations

hanzei commented 1 year ago

Since https://github.com/mattermost/mattermost-plugin-starter-template/pull/163 ´16.13.1` is used. Please reopen the issue if you are having issues