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

Unfortunately fails with the OpenSSL crypto error #14

Open
ProgrammingLife opened this issue Aug 23, 2022 · 2 comments
Open

Unfortunately fails with the OpenSSL crypto error #14

ProgrammingLife opened this issue Aug 23, 2022 · 2 comments

Comments

@ProgrammingLife
Copy link

→ npm start                                                                                                                                                                                                                         ▸  Tue Aug 23, 05:17:50 

> [email protected] start
> webpack-dev-server --mode=development

(node:27368) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /home/guest/dir/HDRI-to-CubeMap/public
ℹ 「wds」: 404s will fallback to /index.html
node:internal/crypto/hash:67
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:130:10)
    at module.exports (/home/guest/dir/HDRI-to-CubeMap/node_modules/webpack/lib/util/createHash.js:90:53)
    at NormalModule._initBuildHash (/home/guest/dir/HDRI-to-CubeMap/node_modules/webpack/lib/NormalModule.js:384:16)
    at handleParseError (/home/guest/dir/HDRI-to-CubeMap/node_modules/webpack/lib/NormalModule.js:432:10)
    at /home/guest/dir/HDRI-to-CubeMap/node_modules/webpack/lib/NormalModule.js:464:5
    at /home/guest/dir/HDRI-to-CubeMap/node_modules/webpack/lib/NormalModule.js:325:12
    at /home/guest/dir/HDRI-to-CubeMap/node_modules/loader-runner/lib/LoaderRunner.js:370:3
    at iterateNormalLoaders (/home/guest/dir/HDRI-to-CubeMap/node_modules/loader-runner/lib/LoaderRunner.js:211:10)
    at Array.<anonymous> (/home/guest/dir/HDRI-to-CubeMap/node_modules/loader-runner/lib/LoaderRunner.js:202:4) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v17.0.1

How to fix it?
Thanks for the greatest service!

@ProgrammingLife ProgrammingLife changed the title Unfortunately fails with the crypto error Unfortunately fails with the OpenSSL crypto error Aug 23, 2022
@thomasw04
Copy link

@ProgrammingLife it should be enough to run npm update, in order to solve this error. (Because the package-lock was generated with an old node version)

@hichemfantar
Copy link

hichemfantar commented Sep 14, 2024

I rewrote the project in typescript and a new ui as an effort to maintain it https://github.com/hichemfantar/hdri-to-cubemap-converter
feel free to open an issue and don't forget to leave a star ⭐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants