티스토리 뷰

리액트 프로젝트 폴더 메인에서 

yarn start 명령어를 통한 프로그램 실행 시 

아래와 같이 오류가 발생.

 

[ 오류 메시지 ]

error Command failed with exit code 1.
info Visit 
https://yarnpkg.com/en/docs/cli/run
 for documentation about this command.

 

[ 조치사항 ]

- yarn 캐시 삭제 

yarn cache clean

[ 오류 메시지 ]

react-scripts 은(는) 내부 또는 외부 명령 실행할 수 있는 프로그램 또는 배치 파일이 아닙니다

 

[ 조치사항 ]

yarn add global react-scripts