Problem Solving

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

Namani 2024. 7. 20. 22:15

해결 방법

  1. `react-scripts` 라는 라이브러리를 현재 경로에서 실행시킬 수 없는 상황에서 발생
  2. `yarn add global react-scripts` 를 이용하여 react-scripts 라는 라이브러리를 전역으로 설치하기
  3. 또는 프로젝트 디렉토리에서 `npm install ` 또는 `yarn install ` 명령어 실행해서 패키지 다시 설치하기

출처

1. https://thespoiler.tistory.com/21https://codingdiary99.tistory.com/5