[error] TypeError: cli.init is not a function

시훈·2022년 8월 11일
0

react-native init myapp(프로젝트명) 으로 프로젝트를 생성할때 react-native cli 버전이 0.69.0버전일때 오류가 발생합니다.

오류 ->
TypeError: cli.init is not a function

해결방법 -> 다운그레이드 하면 됩니다.
npx react-native init YourProjectName --version 0.68.2

profile
생산성을 높이고, 집중을 즐기는 개발자

0개의 댓글