digital envelope routines::initialization error
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- node.js, react, typescript, webpack
- 领域
- build-system, frontend
调研方向
从 npm run start:dev 入口和 webpack.dev.js 开始,然后使用 issue 中显示的命令重现失败。沿着报告中的 webpack 和 Node.js 堆栈跟踪 ERR_OSSL_EVP_UNSUPPORTED 错误。完成的标准是开发命令能够执行完毕,并提供一个没有数字信封错误的可用构建/服务。
由索引模型根据 Issue 内容生成。
描述
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 urix@0.1.0: Please see [https://github.com/lydell/urix#deprecated](https://github.com/lydell/urix#deprecated)
npm WARN deprecated resolve-url@0.2.1: [https://github.com/lydell/resolve-url#deprecated](https://github.com/lydell/resolve-url#deprecated)
npm WARN deprecated source-map-resolve@0.5.3: See [https://github.com/lydell/source-map-resolve#deprecated](https://github.com/lydell/source-map-resolve#deprecated)
npm WARN deprecated source-map-url@0.4.0: See [https://github.com/lydell/source-map-url#deprecated](https://github.com/lydell/source-map-url#deprecated)
npm WARN deprecated react-axe@3.5.4: deprecated
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: 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](https://v8.dev/blog/math-random) for details.
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated @storybook/addon-knobs@6.2.9: deprecating @storybook/addon-knobs in favor of @storybook/addon-controls
npm WARN deprecated highlight.js@9.13.1: Version no longer supported. Upgrade to @latest
npm WARN deprecated core-js@1.2.7: 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 core-js@2.6.12: 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.
> patternfly-seed@0.0.2 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/](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'
}
Jira Issue: PF-2030
- 主要语言
- TypeScript
- 星标
- 97
- 派生
- 282
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
patternfly/patternfly-react-seed 的其他 Issue
-
enhancement PF Team
难度 3/5 1-2 天 新手友好度 45/100
-
PF Team
难度 4/5 3-5 天 新手友好度 35/100
patternfly/patternfly-react-seed#163 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 35/100
patternfly/patternfly-react-seed#158 · 2 个 reaction ·
-
难度 5/5 一周以上 新手友好度 20/100
-
难度 3/5 1-2 天 新手友好度 35/100
查看 patternfly/patternfly-react-seed 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
bcgov/bc-wallet-mobile#4761 · 1 条评论 ·
-
external-issue to-triage
难度 2/5 1-3 小时 新手友好度 88/100
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
refactor
难度 2/5 1-3 小时 新手友好度 84/100