728x90
@ yarn.lock 오류
1. 문제 : yarn으로 dependancy설치 중 오류가 발생.
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/WrathChaos/react-native-dynamic-search-bar.git
Directory: C:\Users\nyong\Documents\GitHub\BotNavi
Output:
Host key verification failed.
fatal: Could not read from remote repository.
2. 해결방법 : yarn.lock를 제거하고, 새로 yarn을 install하면 해결
좌측 사진의 yarn.lock을 삭제 후,
yarn install
* yarn에서 캐시 클린 코드는 yarn cache clean
------------------------------------------------------------------------------------------------------------------------------------------
728x90
'React-native > Error' 카테고리의 다른 글
[Expo] react-native-web, react-dom 설치 오류 [expo web 사용시] (2) | 2023.01.10 |
---|---|
[AndroidStudio] Unsupported SDK version: our app builders do not support SDK version 47 (0) | 2022.12.27 |
에러화면, 로딩화면 구현 (1) (0) | 2022.05.24 |
React 오류 대처 이모저모 (0) | 2022.04.29 |