[React Error] react-scripts: command not found / error Command failed with exit code 127. 오류 해결
문제 발생 React 팀 프로젝트를 진행하던 중, clone 후에 yarn start가 안 되는 문제가 발생했다. 오류메시지 원인 'error Command failed with exit code 127.'는 명령을 실행하기 전에 모듈을 설치하는 것을 잊었을 때 주로 발생하는 오류이다. 해결 프로젝트의 루트 디렉터리에서 터미널을 열고 다음 명령을 실행한다. yarn install 위 명령어로 yarn을 설치한 후 yarn start를 입력하니 정상적으로 실행되었다. +) 만약 계속 안될 경우, npm install도 실행해볼 것. 참고 : https://bobbyhadz.com/blog/yarn-error-command-failed-with-exit-code-127
TIL
2023. 7. 19.