Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove temporary openssl-legacy-provider for nodejs ui build #2609

Closed
zachaller opened this issue Feb 19, 2023 · 1 comment · Fixed by #3475
Closed

Remove temporary openssl-legacy-provider for nodejs ui build #2609

zachaller opened this issue Feb 19, 2023 · 1 comment · Fixed by #3475
Labels
bug Something isn't working no-issue-activity

Comments

@zachaller
Copy link
Collaborator

zachaller commented Feb 19, 2023

This flag was added in this PR

#2606

The error below is from the build pipeline without the above mentioned flag turned on.

$ rm -rf dist && webpack --config ./src/app/webpack.prod.js
/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/loader-runner/lib/LoaderRunner.js:133
		if(isError) throw e;
		            ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at makeSourceMapAndFinish (/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/ts-loader/dist/index.js:58:5)
    at successLoader (/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/ts-loader/dist/index.js:40:5)
    at Object.loader (/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/ts-loader/dist/index.js:23:5)
    at LOADER_EXECUTION (/home/runner/work/argo-rollouts/argo-rollouts/ui/node_modules/loader-runner/lib/LoaderRunner.js:119:14) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported

@github-actions
Copy link
Contributor

This issue is stale because it has been open 60 days with no activity.

xnox added a commit to xnox/argo-rollouts that referenced this issue Mar 26, 2024
xnox added a commit to xnox/argo-rollouts that referenced this issue Mar 26, 2024
zachaller pushed a commit that referenced this issue Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity
Projects
None yet
1 participant