编译时OpenSSL-Legacy-provider错误

发布于 2025-02-06 14:15:14 字数 669 浏览 2 评论 0原文

尝试使用Spring Boot学习Vaadin

------------------ Starting Frontend compilation. ------------------
2022-06-12 21:50:58.951  INFO 9764 --- [nPool-worker-19] c.v.b.devserver.AbstractDevServerRunner  : Running Webpack to compile frontend resources. This may take a moment, please stand by...
2022-06-12 21:50:58.965  INFO 9764 --- [v-server-output] c.v.b.devserver.DevServerOutputTracker   : /usr/bin/node: --openssl-legacy-provider is not allowed in NODE_OPTIONS

------------------ Frontend compilation failed. ------------------

我正在 当我使用Linux Base系统时,面对这个问题,但没有相同的节点版本在窗口上发生 试图使用 unsot node_options ,但

请不要使用任何建议

I am trying to learn Vaadin with spring boot but when ever I compile the code,its always showing erro when frontend part start the compilation

------------------ Starting Frontend compilation. ------------------
2022-06-12 21:50:58.951  INFO 9764 --- [nPool-worker-19] c.v.b.devserver.AbstractDevServerRunner  : Running Webpack to compile frontend resources. This may take a moment, please stand by...
2022-06-12 21:50:58.965  INFO 9764 --- [v-server-output] c.v.b.devserver.DevServerOutputTracker   : /usr/bin/node: --openssl-legacy-provider is not allowed in NODE_OPTIONS

------------------ Frontend compilation failed. ------------------

I am running node v16.15 and jdk 17
Facing this problem when i use linux base system but not happening on window with the same node version
Tried to use unset NODE_OPTIONS but not working

Any suggestion please

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

昵称有卵用 2025-02-13 14:15:14

这是OpenSSL3的问题,请参见问题 https://github.com/github.com/vaadin/flow/issues/ 13889
它可能应在节点16.16中固定

It is an issue with openssl3 see issue https://github.com/vaadin/flow/issues/13889
It should probably be fixed in node 16.16

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文