[srghma@machine:~/projects/purescript-lumi-components]$ webpack -p
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/home/srghma/projects/purescript-lumi-components/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/srghma/projects/purescript-lumi-components/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/srghma/projects/purescript-lumi-components/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/srghma/projects/purescript-lumi-components/node_modules/webpack/lib/NormalModule.js:503:5
at /home/srghma/projects/purescript-lumi-components/node_modules/webpack/lib/NormalModule.js:358:12
at /home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at runSyncOrAsync (/home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
at Array.<anonymous> (/home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/home/srghma/projects/purescript-lumi-components/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)
at /home/srghma/projects/purescript-lumi-components/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9
at /home/srghma/projects/purescript-lumi-components/node_modules/graceful-fs/graceful-fs.js:90:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
node:internal/crypto/hash:69
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/home/srghma/projects/purescript-lumi-components/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/srghma/projects/purescript-lumi-components/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/srghma/projects/purescript-lumi-components/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/srghma/projects/purescript-lumi-components/node_modules/webpack/lib/NormalModule.js:503:5
at /home/srghma/projects/purescript-lumi-components/node_modules/webpack/lib/NormalModule.js:358:12
at /home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/home/srghma/projects/purescript-lumi-components/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /home/srghma/projects/purescript-lumi-components/node_modules/babel-loader/lib/index.js:59:71 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.17.1
probably should go away if install latest webpack, but I just used export NODE_OPTIONS=--openssl-legacy-provider
there was an error
probably should go away if install latest webpack, but I just used
export NODE_OPTIONS=--openssl-legacy-provider