클론코딩 중, yarn start를 하려고 하니 ..
library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' 의 에러가 발생 ..
원인 : package-json의 react-scripts 버전의 react-script의 버전이 예전 버전이라서
해결: npm install --save react-scripts@5.0.1 -> 버전 업그레이드 -> 웹 컴파일 완료
misSolution: --openssl-legacy-provider start, --openssl-legacy-provider build 명령어를 package.json파일의 scripts 부분에 추가하라고 했는데도, 컴파일 실패함.
참고: https://subtlething.tistory.com/101
참고2: https://onlydev.tistory.com/114
Error: error:0308010C:digital envelope routines::unsupported
Error: error:0308010C:digital envelope routines::unsupported opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' 찾아보니까 노드 버전 다운그레이드
subtlething.tistory.com