[英]React + $ npm start ==> throwing the error : opensslErrorStack with error code: 'ERR_OSSL_EVP_UNSUPPORTED'/
$npm start ===> throwing this error: opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' $npm start ===> 抛出这个错误:opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED'
Solution: On Ubuntu:解决方案:在 Ubuntu 上:
Step1: $ export NODE_OPTIONS=--openssl-legacy-provider第一步:$ export NODE_OPTIONS=--openssl-legacy-provider
Step2: $ npm start Step2:$npm开始
Thats all.就这样。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.