본문 바로가기

반응형

Error

(6)
[Github] 화살표있는 폴더 클릭 안될때 git push했는데 보니까 화살표있는 폴더가 있다! 처음 봣다! 문제 client 폴더 안에 또 다른 .git파일 존재 이 나쁜놈 때문에 화살표가 생기는 것이다! 해결 방법 .git 파일 삭제 1. .git 파일 삭제 rm -rf .git 없어진 것을 확인할 수 있다. 2. git hub 원격 저장소에 있는 client파일 삭제 (안해도 됨. 혹시 몰라서 지우는 거) git rm --cached . -rf 3. git push 모두 열코하세엽~~~
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication) (Mac error react-native) 오늘의 에러 ! Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication) 해결방법 1.kill -9 node 2.npm start --reset-cache 3.react-native run-ios OR react-native run-android 하면 된다 !!!!!!!!!!!!!! 혁이는 오늘도 코딩중 ...*
Gradle - Could not initialize class org.codehaus.groovy.runtime.InvokerHelper(Mac error - react native) 오늘의 에러 ! Gradle - Could not initialize class org.codehaus.groovy.runtime.InvokerHelper 해결 방법 프로젝트에서 android/gradle/wrapper폴더안의 gradle-wrapper.properties파일에 들어간다. 그러면 distributionUrl=https\://services.gradle.org ~~ /gradle-6.2-bin ~~ 라는 부분이 있다. 난 gradle 버전을 6.2를 6.3으로 고치니까 실행이 됐다. 참고문서 : coding-start.tistory.com/378 Gradle - Could not initialize class org.codehaus.groovy.runtime.InvokerHelper(Spr..
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081(Mac React-native Error) Mac에서 npx react-native run-android를 실행하면 나오는 오류였다. 이 에러도 되게 많이 나왔다. 해결 방법은 되게 간단했다. 먼저, 터미널에 adb devices를 입력하여 android device가 연결 돼있는지 확인해봐라. 안돼있으면 환경변수가 제대로 설정돼있는지 확인해보아라. (나는 왜인지 모르겠는데 자꾸 환경변수 설정이 풀렸다. ) !.zshrc설정 했음 ㅠㅠ 이유아시는 고수분 알려주세여 ㅠㅠ 환경변수설정을 하고나서 adb devices를 입력하면 amulator 종류가 나올것이다. 그 다음으로 터미널에서 해당 프로젝트 디렉토리로 이동해서 1. gradlew clean 2. npx react-native run-android 를 입력하면된다. 참고 문서 : github...
Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65.(mac react-native error) mac react-native error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. "Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65." 라는 오류가 떴다. 두가지 방법을 해보았다. 처음은 1. 수동으로 ios디렉토리 삭제 2. 캐시정리 - npm cache clean --force 3. react-native start 4. npm install 5. react-native link 6. react-native run-ios 했다. 그러나 안됐다. 두번째방법으로 1. cd ..
Error :spawn ./gradlew EACCES(mac error react-native ) react native하면서 느낀건데 뜨는 오류가 계속뜬다 ... 협업을 하다보니 서로 버전이 달라서 생기는 문제도 있고 여러가지 이유가 있는것 같다 그런데 뜨는 게 여러번 뜬다. 그래서 정리하고자 error를 따로 정리하고자 한다. 첫번째 에러 ! Error : spawn ./gradlew EACCES cmd창을 열어 해당 디렉토리에 들어가서 chmod 755 android/gradlew 를 입력해주면 된다. 참고문서 : stackoverflow.com/questions/37900737/make-sure-you-have-an-android-emulator-running-or-a-device-connected-and-have Make sure you have an Android emulator runni..

반응형