로딩
요청 처리 중입니다...

[RN][Error] cli.init is not a function

 [RN][Error] cli.init is not a function

npx react-native init myApp TypeError: cli.init is not a function 에러가 발생한다. 그 결과 생성되는 파일은 이것뿐.

뭔가 파일이 많이 없어도 없다. 0.69버전의 에러로 보인다. 해결 1. npx react-native init ProjectName --version 0.68.2 특정 버전을 지정하여 생성.

성공. and then upgrade to v 0.69 later. 해결 2. npm uninstall -g react-native-cli npm install -g react-native-cli npx react-native init AwesomeProject 2022-10-14 추가 내용 (해결): https://blog.naver.com/lifeyun24/222900530144 [RN] TypeError: cli.init is not a function (해결 2탄) npx react-native init myApp - ...