We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当前 node18 已经设置为 LTS,而 node12 去年 4 月已停止维护,详情见 https://github.com/nodejs/Release
由 v16 升级至 v18 比如大的 breaking change 是 OpenSSL 3.0 里 md4 哈希算法默认不可用,这个算法在 webpack 生态又用到较多,这个问题会提示错误:Error: error:0308010C:digital envelope routines::unsupported
https://nodejs.org/en/blog/release/v17.0.0 https://nodejs.org/en/blog/release/v18.0.0
相关讨论: webpack/webpack#14532 https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
NODE_OPTIONS=--openssl-legacy-provider fec-builder -p 8080 # 或者设置全局变量 export NODE_OPTIONS=--openssl-legacy-provider fec-builder -p 8080
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
当前 node18 已经设置为 LTS,而 node12 去年 4 月已停止维护,详情见 https://github.com/nodejs/Release
对 builder 的影响
由 v16 升级至 v18 比如大的 breaking change 是 OpenSSL 3.0 里 md4 哈希算法默认不可用,这个算法在 webpack 生态又用到较多,这个问题会提示错误:Error: error:0308010C:digital envelope routines::unsupported
https://nodejs.org/en/blog/release/v17.0.0
https://nodejs.org/en/blog/release/v18.0.0
相关讨论:
webpack/webpack#14532
https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
升级方案
The text was updated successfully, but these errors were encountered: