npm run build
> open-log-viewer@1.6.0 build
> webpack --mode=production
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:130:10)
at module.exports (/home/exilefox/openlogviewer-git/open-log-viewer/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/exilefox/openlogviewer-git/open-log-viewer/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/exilefox/openlogviewer-git/open-log-viewer/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/exilefox/openlogviewer-git/open-log-viewer/node_modules/webpack/lib/NormalModule.js:503:5
at /home/exilefox/openlogviewer-git/open-log-viewer/node_modules/webpack/lib/NormalModule.js:358:12
at /home/exilefox/openlogviewer-git/open-log-viewer/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/exilefox/openlogviewer-git/open-log-viewer/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array.<anonymous> (/home/exilefox/openlogviewer-git/open-log-viewer/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/home/exilefox/openlogviewer-git/open-log-viewer/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /home/exilefox/openlogviewer-git/open-log-viewer/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
at /home/exilefox/openlogviewer-git/open-log-viewer/node_modules/graceful-fs/graceful-fs.js:78:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
End result:
npm run start
> open-log-viewer@1.6.0 start
> electron .
[185529:1221/065126.708991:FATAL:gpu_data_manager_impl_private.cc(1034)] The display compositor is frequently crashing. Goodbye.
End result:
System info: Manjaro XFCE