Frontend/React

[React] digital envelope routines::unsupported (error:0308010C) 오류 해결

2023. 11. 10. 10:55·Frontend/React

 

 

React 프로젝트를 생성해서 실행시키는 과정에서 이런 오류가 났다

 

Error: error:0308010C:digital envelope routines::unsupported

 

 

구글링해보니 node 버전이 너무 높아서 그렇다는 이야기가 있었다

그래서 다운그레이드도 해보고, 아예 node와 npm을 삭제도 해보고,,

Program Files 들어가서 관련 폴더 삭제도 해봤는데 해결이 안됨 ㅠ

 

그러다 

https://naraewool.tistory.com/350

https://www.freecodecamp.org/news/error-error-0308010c-digital-envelope-routines-unsupported-node-error-solved/
이 두 글을 보고 해결했다!

 

 


에러 원인

react-script version이 낮아서 node version과 충돌이 일어남

 

 

에러 해결

npm uninstall react-scripts

npm install react-scripts

react-scripts를 삭제하고 다시 설치하기!

 

그리고 나서 

혹시 몰라 `npm install` 한번 다시 해주고

`npm run start` 했더니 이렇게 ▼

 

컴파일 성공 ✨

 

 

저작자표시

'Frontend > React' 카테고리의 다른 글

[React] 컴포넌트에 대한 고찰  (0) 2024.12.18
[React] 프로젝트 구동 방식  (0) 2024.12.17
[Vite] React + TypeScript 기반 프로젝트 생성하기  (1) 2024.12.15
[React] React와 React Native의 차이 비교  (1) 2024.12.14
[React] Too many re-renders. React limits the number of renders to prevent an infinite loop. 에러 해결  (0) 2023.11.11
'Frontend/React' 카테고리의 다른 글
  • [React] 프로젝트 구동 방식
  • [Vite] React + TypeScript 기반 프로젝트 생성하기
  • [React] React와 React Native의 차이 비교
  • [React] Too many re-renders. React limits the number of renders to prevent an infinite loop. 에러 해결
sol_git
sol_git
Full-Stack을 꿈꾸는 Junior Developer💖
  • sol_git
    솔깃한 Dev
    sol_git
  • 글쓰기 관리자
  • 전체
    오늘
    어제
    • 분류 전체보기 (40)
      • Frontend (13)
        • Javascript (1)
        • React (9)
        • Vue (1)
        • Svelte (1)
      • Style Sheet (0)
        • Sass (0)
      • Backend (4)
        • Java (3)
        • Python (1)
        • Spring Boot (0)
      • AI (0)
        • LLM (0)
        • Gen AI (0)
      • DevOps (16)
        • Git (16)
        • Kubernetes (0)
      • Cloud (0)
        • AWS (0)
      • DBMS (2)
        • MySQL (1)
        • PostgreSQL (1)
      • IDE & Tools (3)
        • IntelliJ (1)
        • VS Code (1)
        • Tool (1)
      • OS (2)
        • Mac (2)
      • Project 일기 (0)
  • 블로그 메뉴

    • 방명록
  • 링크

    • Github
  • 인기 글

  • 최근 댓글

  • hELLO· Designed By정상우.v4.10.3
sol_git
[React] digital envelope routines::unsupported (error:0308010C) 오류 해결
상단으로

티스토리툴바