javaScript&jQurey/REACT
'react-scripts'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다
jeongyj
2023. 10. 30. 16:50
해결방법
create-react-app으로 만든 package.json이 있는디렉토리에서
yarn add react-scripts
nap install -save react-scripts
혹은
yarn upgrade
명령어를 실행시켜주면 된다고 한다. 이것도 안되면 전역 변수로
yarn add global react-scripts
npm install -g react-scripts
이렇게 해주면 된다고 합니다.
출처 : https://thespoiler.tistory.com/21