오류 해결

Cannot run program "npx": error=2, No such file or directory when running React Native app

npm uninstall -g react-native-cli
npm i -g npx

--legacy-peer-deps

혹은 다운그레이드

yarn android시 metro 안됨 warning
->reload

I'm getting an error "Unable to resolve module" after updating to the latest version

npx react-native start --reset-cache

 <TouchableOpacity>
 
          <Image source={require('./images/sample_image_button.png')} />
          
        </TouchableOpacity>

이렇게 KakaoButton.js를 만들고
WelcomeScreen.js에서

<KakaoButton onClick={SignInWithKakao} />

를 했는데

<TouchableOpacity activeOpacity = { .5 } onPress={ this.callFun }>

처럼 TouchableOpacity에서 설정해야함

좋은 웹페이지 즐겨찾기