简体   繁体   English

React + $ npm start ==> 抛出错误:opensslErrorStack 错误代码:'ERR_OSSL_EVP_UNSUPPORTED'/

[英]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.

相关问题 反应 npm 错误“npm ERR! 代码 ELIFECYCLE” 当我执行 npm start 时 - React npm error “npm ERR! code ELIFECYCLE” when I do npm start opensslErrorStack 反应错误:当我尝试启动我的项目时,它向我显示此错误 - opensslErrorStack react error : when i try to start my project it show me this error npm start throwing error status 1 require is not a function - npm start throwing error status 1 require is not a function 如何解决 npm err 代码 elifecycle 错误? - How to solve npm err code elifecycle error? react-app 安装错误 - npm ERR! 代码 Z_BUF_ERROR - react-app installation error- npm ERR! code Z_BUF_ERROR 如何解决 npm 安装错误“npm ERR? 代码 1”? - How to solve npm install error “npm ERR! code 1”? 如何修复错误“npm ERR!缺少脚本:开始” - How to fix error "npm ERR! missing script: start" 在节点 js“应该设置秘密”和反应“npm ERR!代码 ELIFECYCLE”中出现错误 - Getting error in node js "secret should be set" and in react "npm ERR! code ELIFECYCLE" 在 msal-node js 中使用带有证书的 SPN 获取访问令牌的 azure 活动目录面临错误“ERR_OSSL_PEM_NO_START_LINE” - azure active directory get access token using SPN with certificate in msal-node js facing error "ERR_OSSL_PEM_NO_START_LINE " npm 错误! 运行 React 之前出错,我无法修复它 - npm ERR! Error before running React and i cant fix it
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM