npm install 시 에러들

JungKuk Jo·2023년 7월 27일
0

case1

[!] CocoaPods could not find compatible versions for pod "AppAuth":
  In snapshot (Podfile.lock):
    AppAuth (= 1.6.1, ~> 1.4, ~> 1.5)

  In Podfile:
    react-native-app-auth (from `../node_modules/react-native-app-auth`) was resolved to 6.4.3, which depends on
      AppAuth (= 1.4.0)

-->

https://github.com/FormidableLabs/react-native-app-auth/pull/756/commits/5288b9e3b1f212656df153c287260077622eb2e3

case2


error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* Where:
Script '/Users/jungkukjo/Desktop/workspace/clientAsset/node_modules/react-native-code-push/android/codepush.gradle' line: 6

nodemodule 에 react-native-code-push 에 android 폴더에 아래 파일로 교체해주어야 한다.

code push

0개의 댓글