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

digital envelope routines::initialization error #142

Open
peterducai opened this issue May 16, 2022 · 1 comment
Open

digital envelope routines::initialization error #142

peterducai opened this issue May 16, 2022 · 1 comment

Comments

@peterducai
Copy link

peterducai commented May 16, 2022

Describe the bug

npm run start:dev produces error

To Reproduce
Steps to reproduce the behavior

Expected behavior

working build/service

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

cd patternfly-react-seed
npm install && npm run start:dev
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated @storybook/[email protected]: deprecating @storybook/addon-knobs in favor of @storybook/addon-controls
npm WARN deprecated [email protected]: Version no longer supported. Upgrade to @latest
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

added 3077 packages, and audited 3078 packages in 38s

230 packages are looking for funding
  run `npm fund` for details

44 vulnerabilities (3 low, 9 moderate, 30 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

> [email protected] start:dev
> webpack serve --color --progress --config webpack.dev.js

10% building 0/1 entries 0/0 dependencies 0/0 modulesℹ 「wds」: Project is running at http://localhost:9000/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from ./dist
ℹ 「wds」: 404s will fallback to /index.html
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:130:10)
    at BulkUpdateDecorator.hashFactory (/home/daemonna/patternfly-react-seed/node_modules/webpack/lib/util/createHash.js:145:18)
    at BulkUpdateDecorator.update (/home/daemonna/patternfly-react-seed/node_modules/webpack/lib/util/createHash.js:46:50)
    at OriginalSource.updateHash (/home/daemonna/patternfly-react-seed/node_modules/webpack/node_modules/webpack-sources/lib/OriginalSource.js:104:8)
    at NormalModule._initBuildHash (/home/daemonna/patternfly-react-seed/node_modules/webpack/lib/NormalModule.js:870:17)
    at handleParseResult (/home/daemonna/patternfly-react-seed/node_modules/webpack/lib/NormalModule.js:936:10)
    at /home/daemonna/patternfly-react-seed/node_modules/webpack/lib/NormalModule.js:1028:4
    at processResult (/home/daemonna/patternfly-react-seed/node_modules/webpack/lib/NormalModule.js:745:11)
    at /home/daemonna/patternfly-react-seed/node_modules/webpack/lib/NormalModule.js:809:5
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 BulkUpdateDecorator.hashFactory (/home/daemonna/patternfly-react-seed/node_modules/webpack/lib/util/createHash.js:145:18)
    at BulkUpdateDecorator.update (/home/daemonna/patternfly-react-seed/node_modules/webpack/lib/util/createHash.js:46:50)
    at OriginalSource.updateHash (/home/daemonna/patternfly-react-seed/node_modules/webpack/node_modules/webpack-sources/lib/OriginalSource.js:104:8)
    at NormalModule._initBuildHash (/home/daemonna/patternfly-react-seed/node_modules/webpack/lib/NormalModule.js:870:17)
    at handleParseResult (/home/daemonna/patternfly-react-seed/node_modules/webpack/lib/NormalModule.js:936:10)
    at /home/daemonna/patternfly-react-seed/node_modules/webpack/lib/NormalModule.js:1028:4
    at processResult (/home/daemonna/patternfly-react-seed/node_modules/webpack/lib/NormalModule.js:745:11)
    at /home/daemonna/patternfly-react-seed/node_modules/webpack/lib/NormalModule.js:809:5 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
@01beacon
Copy link

I have the same problem. Have you solved it?

@dlabaj dlabaj added this to the Prioritized Backlog milestone Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

4 participants