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

frontend fails to build with ERR_OSSL_EVP_UNSUPPORTED #112

Open
christian-heusel opened this issue Nov 28, 2022 · 3 comments
Open

frontend fails to build with ERR_OSSL_EVP_UNSUPPORTED #112

christian-heusel opened this issue Nov 28, 2022 · 3 comments
Labels
bug Something isn't working frontend All issues related to the frontend

Comments

@christian-heusel
Copy link
Member

Currently the frontend fails to build:

#0 2.238 To enable GQL files in ESLint, set the `pluginOptions.apollo.lintGQL` project option to `true` in `vue.config.js`. Put `false` to hide this message.
#0 2.238 You also need to install `eslint-plugin-graphql` and enable it in your ESLint configuration.
#0 2.551 Error: error:0308010C:digital envelope routines::unsupported
#0 2.551     at new Hash (node:internal/crypto/hash:71:19)
#0 2.551     at Object.createHash (node:crypto:133:10)
#0 2.551     at module.exports (/app/node_modules/webpack/lib/util/createHash.js:135:53)
#0 2.551     at NormalModule._initBuildHash (/app/node_modules/webpack/lib/NormalModule.js:417:16)
#0 2.551     at handleParseError (/app/node_modules/webpack/lib/NormalModule.js:471:10)
#0 2.551     at /app/node_modules/webpack/lib/NormalModule.js:503:5
#0 2.551     at /app/node_modules/webpack/lib/NormalModule.js:358:12
#0 2.551     at /app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
#0 2.551     at iterateNormalLoaders (/app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
#0 2.551     at iterateNormalLoaders (/app/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
#0 2.551     at /app/node_modules/loader-runner/lib/LoaderRunner.js:236:3
#0 2.551     at runSyncOrAsync (/app/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
#0 2.551     at iterateNormalLoaders (/app/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
#0 2.551     at Array.<anonymous> (/app/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
#0 2.551     at Storage.finished (/app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
#0 2.551     at /app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
#0 4.489 /app/node_modules/loader-runner/lib/LoaderRunner.js:114
#0 4.489                        throw e;
#0 4.489                        ^
#0 4.489
#0 4.489 Error: error:0308010C:digital envelope routines::unsupported
#0 4.489     at new Hash (node:internal/crypto/hash:71:19)
#0 4.489     at Object.createHash (node:crypto:133:10)
#0 4.489     at module.exports (/app/node_modules/webpack/lib/util/createHash.js:135:53)
#0 4.489     at NormalModule._initBuildHash (/app/node_modules/webpack/lib/NormalModule.js:417:16)
#0 4.489     at handleParseError (/app/node_modules/webpack/lib/NormalModule.js:471:10)
#0 4.489     at /app/node_modules/webpack/lib/NormalModule.js:503:5
#0 4.489     at /app/node_modules/webpack/lib/NormalModule.js:358:12
#0 4.489     at /app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
#0 4.489     at iterateNormalLoaders (/app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
#0 4.489     at iterateNormalLoaders (/app/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
#0 4.489     at /app/node_modules/loader-runner/lib/LoaderRunner.js:236:3
#0 4.489     at context.callback (/app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
#0 4.489     at /app/node_modules/cache-loader/dist/index.js:147:7
#0 4.489     at /app/node_modules/graceful-fs/graceful-fs.js:57:14
#0 4.489     at FSReqCallback.oncomplete (node:fs:197:23) {
#0 4.489   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
#0 4.489   library: 'digital envelope routines',
#0 4.489   reason: 'unsupported',
#0 4.489   code: 'ERR_OSSL_EVP_UNSUPPORTED'
#0 4.489 }
#0 4.489
#0 4.489 Node.js v18.12.1
------
failed to solve: executor failed running [/bin/sh -c npm run build]: exit code: 1
@christian-heusel christian-heusel added bug Something isn't working frontend All issues related to the frontend labels Nov 28, 2022
@christian-heusel
Copy link
Member Author

@TomTomRixRix can you maybe help with this? 😊

@christian-heusel
Copy link
Member Author

According to this answer on StackOverflow is caused by a webpack issue, tbh i dont know how to resolve it / bump webpack in out setup.

@TomTomRixRix
Copy link
Collaborator

So far I haven't heard of this issue, but I can have a look into it and see if I find a solution for our case.

christian-heusel added a commit that referenced this issue Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend All issues related to the frontend
Projects
None yet
Development

No branches or pull requests

2 participants