본문 바로가기
React-Native

You are currently running Node v10.6.0 but React Native requires >=12. Please use a supported version of Node.

by Dokon Jang 2021. 12. 15.
반응형

오랜만에 React-Native를 이용하여 iOS 앱을 개발하려고 프로젝트를 생성하니 아래와 같은 오류가 발생했습니다.

You are currently running Node v10.6.0 but React Native requires >=12.
Please use a supported version of Node.

 

Node.js의 버전을 12이상으로 갱신하라고 표시되어서 아래의 URL에서 최신의 윈도우즈용 Node.js 를 다운로드하여 설치했습니다.

https://nodejs.org/en/download/

 

Download | Node.js

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

nodejs.org

 

Node.js v16.13.1를 설치하고 React-Native  프로젝트를 생성 후 안드로이드 에뮬레이터에 실행하니 정상적으로 작동합니다.

React-Native 버전은 아래와 같습니다.

"react": "17.0.2",
"react-native": "0.66.4"

반응형

댓글