react-native-version-number
을 설치하려고합니다. instructions은 설치 후 문제가 있음을 나타냅니다.react-native-version-number를 연결할 수 없습니다.
react-native link react-native-version-number
하지만 이렇게하면 다음과 같은 오류 메시지가 나타납니다.
Looks like you installed react-native globally, maybe you meant react-native-cli?
To fix the issue, run:
npm uninstall -g react-native
npm install -g react-native-cli
하지만
npm uninstall -g react-native
을 실행할 때 나는 반응 네이티브 버전 번호를 연결하려면 어떻게
npm WARN uninstall not installed in /usr/local/lib/node_modules: "react-native"
를 얻을?
rnpm 링크? (rnpm이 설치되어있는 경우) – dv3
프로젝트 루트에서 반응 네이티브 링크를 실행 했습니까? –
방금 확인한 결과 루트에서 확실히 실행했습니다. – Obromios