Search

error: Multiple commands produce

해결 방안

오류문에서 보이듯이 중복으로 가져온다는 것이 바로 문제이다. 현재 프로젝트에 가보면 ios/Fonts 폴더에서 가져올려고 하고 있고 react-native-vector-icons 패키지에서도 가져올려고 하고 있어서 중복이 발생한다.
기존 프로젝트 구조
트러블 슈팅한 프로젝트 구조
기존에 있던 모든 .ttf 확장자 파일을 제거해주면 해결된다.

Success Build

아래의 명령어도 참고하면 좋다.
npm cache clean --force rm -rf node_modules npm install cd ios pod deintegrate pod cache clean --all pod install
Shell
복사