하,,,, 개발하다가 뜬금없이 yarn이나 yarn install 다 안먹히고
error An unexpected error occurred: "Invalid number of spaces".
이런 에러가 뜬다...! 면
아마 yarn-error.log 이런 파일이 생겼을 것이다.
그럼 바로 삭제 갈기시오.
<삭제 갈길 리스트>
- yarn-error.log
- package-lock.json
- yarn.lock
이거 3개 삭제하고 yarn 다시 하면 해결!
'React Native' 카테고리의 다른 글
[React Native] SplashScreen 에러 : MainActivityDelegate cannot be converted to Activity SplashScreen.show(this); (0) | 2022.12.19 |
---|---|
[React Native] 0.68.x Android build failure issue (0) | 2022.11.07 |
Xcode Build Error : Command PahseScriptExecution failed with a nonzero exit code (2) | 2022.08.25 |
[React Native] React Native Cli 로 RN 프로젝트 만들기 (0) | 2022.06.09 |
[React-Native] RN 시작하기 (0) | 2022.03.30 |