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
选择.net5、前端选择react生成项目在运行时出错 提示 “fail: Microsoft.AspNetCore.SpaServices[0] Error: error:0308010C:digital envelope routines::unsupported”
查了下,可能是react和Openssl版本问题导致的,不太明白在框架中咋解决这个问题。
The text was updated successfully, but these errors were encountered:
选择VUE作为前端还是会报这个错误
Nodejs版本是v18.13.0
Sorry, something went wrong.
ClientApp\package.json增加--openssl-legacy-provider
原因是你安装的node版本过高了
ClientApp\package.json增加--openssl-legacy-provider 原因是你安装的node版本过高了
谢谢大佬,react的可以跑起来了!VUE的类似的问题,我查了解决方法是要加 set NODE_OPTIONS=–openssl-legacy-provider在构建之前,但是我不知道加在package.json的那个位置,build项里面加了没成功。
ClientApp\package.json增加--openssl-legacy-provider 原因是你安装的node版本过高了 谢谢大佬,react的可以跑起来了!VUE的类似的问题,我查了解决方法是要加 set NODE_OPTIONS=–openssl-legacy-provider在构建之前,但是我不知道加在package.json的那个位置,build项里面加了没成功。 加在这两个位置,可以了
谢谢大佬,react的可以跑起来了!VUE的类似的问题,我查了解决方法是要加 set NODE_OPTIONS=–openssl-legacy-provider在构建之前,但是我不知道加在package.json的那个位置,build项里面加了没成功。 加在这两个位置,可以了
No branches or pull requests
选择.net5、前端选择react生成项目在运行时出错
提示
“fail: Microsoft.AspNetCore.SpaServices[0]
Error: error:0308010C:digital envelope routines::unsupported”
查了下,可能是react和Openssl版本问题导致的,不太明白在框架中咋解决这个问题。
The text was updated successfully, but these errors were encountered: