ReactNative

ReactNative_ Invalid `Podfile` file: 767: unexpected token at ''

JunsC 2024. 3. 5. 00:08
728x90

 

ReactNative IOS npm 모듈 설치 후

pod cache -- clean

rm -rf podlock 

rm-rf pods

pod install

명령어를 차례로 실행했더니 위와 같은 에러가 나왔다.

건드린 곳은 없고 이상하게 추가한 곳도 없는데 저런 에러가 나왔다.

 

https://stackoverflow.com/questions/72971698/invalid-podfile-file-767-unexpected-token-at

 

Invalid `Podfile` file: 767: unexpected token at ''

I am trying to run my IOS app with react native, but I need to update my Pods. so I run on terminal: cd iOS && pod install But I get this error on the title internal/modules/cjs/loader.js:...

stackoverflow.com

 

이 해결방법을 참조해서 

npm ci 를 한 후 다시 pod install 했더니 해결되었다.

728x90
"이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다."