리액트

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

TheChok 2022. 9. 5. 13:21

npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap. 라는 메시지가 있는데

 

tar@ 버전이 낮은게 문제라고 한다.

 

npm install tar@6 -g

 

위의 명령어를 입력한 뒤 vscode를 껐다가 다시 키자.

 

npx create-react-app . 명령어를 입력하면 정상적으로 작동된다.