React project를 만들고 npm run start를 하는데 이런 오류가 났다.
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
해결방안)
package.json 의 "scripts" 부분을 아래로 대체한다.
"scripts": {
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider start",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
'WEB > Front-End🌝' 카테고리의 다른 글
[Typescript] 블록체인 미니프로젝트 (0) | 2021.12.10 |
---|---|
[React JS] Movie App 03 - React Route (0) | 2021.12.05 |
[React JS] Props type (0) | 2021.12.04 |
[React JS] Props (0) | 2021.12.04 |
[React JS] JSX 알아보기 (0) | 2021.12.02 |