Skip to content
Snippets Groups Projects

fix(deps): upgrade webpack to make it work with NodeJS 20

Merged Nicola Spanti requested to merge topic/default/fix-compilation into branch/default
$ npm run build
> @logilab/cwclientlibjs@1.3.0 build
> webpack --mode=development
/builds/open-source/cwclientlibjs/node_modules/loader-runner/lib/LoaderRunner.js:146
		if(isError) throw e;
		            ^
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:68:19)
    at Object.createHash (node:crypto:138:10)
    at BulkUpdateDecorator.hashFactory (/builds/open-source/cwclientlibjs/node_modules/webpack/lib/util/createHash.js:144:18)
    at BulkUpdateDecorator.update (/builds/open-source/cwclientlibjs/node_modules/webpack/lib/util/createHash.js:46:50)
    at SourceMapSource.updateHash (/builds/open-source/cwclientlibjs/node_modules/webpack-sources/lib/SourceMapSource.js:233:8)
    at NormalModule._initBuildHash (/builds/open-source/cwclientlibjs/node_modules/webpack/lib/NormalModule.js:853:17)
    at handleParseResult (/builds/open-source/cwclientlibjs/node_modules/webpack/lib/NormalModule.js:918:10)
    at /builds/open-source/cwclientlibjs/node_modules/webpack/lib/NormalModule.js:1009:4
    at processResult (/builds/open-source/cwclientlibjs/node_modules/webpack/lib/NormalModule.js:732:11)
    at /builds/open-source/cwclientlibjs/node_modules/webpack/lib/NormalModule.js:792:5 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Edited by Nicola Spanti

Merge request reports

Pipeline #225539 failed

Pipeline failed for 31f00165 on topic/default/fix-compilation

Merged by Nicola SpantiNicola Spanti 10 months ago (Feb 21, 2024 3:00pm UTC)

Loading

Pipeline #225735 failed

Pipeline failed for 31f00165 on branch/default

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading