google / oauth2l

oauth2l ("oauth tool") is a simple CLI for interacting with Google API authentication.
Apache License 2.0
651 stars 81 forks source link

`oauth2l web` fails on `failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1` #161

Open seiyab opened 11 months ago

seiyab commented 11 months ago

Here is a part of error message on docker compose up

2.642 Error: error:0308010C:digital envelope routines::unsupported
2.642     at new Hash (node:internal/crypto/hash:68:19)
2.642     at Object.createHash (node:crypto:138:10)
2.642     at module.exports (/app/node_modules/webpack/lib/util/createHash.js:135:53)
2.642     at NormalModule._initBuildHash (/app/node_modules/webpack/lib/NormalModule.js:417:16)
2.642     at /app/node_modules/webpack/lib/NormalModule.js:452:10
2.642     at /app/node_modules/webpack/lib/NormalModule.js:323:13
2.642     at /app/node_modules/loader-runner/lib/LoaderRunner.js:367:11
2.642     at /app/node_modules/loader-runner/lib/LoaderRunner.js:233:18
2.642     at context.callback (/app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
2.642     at /app/node_modules/babel-loader/lib/index.js:59:103 {
2.642   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
2.642   library: 'digital envelope routines',
2.642   reason: 'unsupported',
2.642   code: 'ERR_OSSL_EVP_UNSUPPORTED'
2.642 }
2.642
2.642 Node.js v21.3.0

Probably related to https://stackoverflow.com/a/69746937/13195622.