error

[ERROR] error Command "react-scripts" not found.

멋진놈 2022. 12. 5. 14:50
728x90

yarn start 하면 

error Command "react-scripts" not found. 발생

 

에러 원인 : 

명령어를 읽을 수 없다고 로그가 찍힌 것을 확인할 수 있습니다. 아무래도 프로젝트 경로가 기존과 다르거나, 다른 프로젝트를 사용할 때 이런 에러가 종종 발생하고는 합니다.

 

해결 : 

npm update

npm install

 

후에 다시

 

yarn start 하면 정상적으로 됨.