인프런 커뮤니티 질문&답변
작성자 없음
작성자 정보가 삭제된 글입니다.
'create-react-app'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다.
작성
·
3.2K
2
C:\Users\ykl11\Desktop\ㅇㅇ\grab-market-project>npm install -g create-react-app
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
changed 67 packages, and audited 68 packages in 3s
4 packages are looking for funding
run `npm fund` for details
3 high severity vulnerabilities
To address all issues, run:
npm audit fix
Run `npm audit` for details.
C:\Users\ykl11\Desktop\ㅇㅇ\grab-market-project>create-react-app .
'create-react-app'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
이런식으로 뜨는데 create-react-app이 설치되지 않아서 저렇게 뜨는걸까요?
답변 2
0
안녕하세요
저도 같은 문제가 나타나는데요
$ npx i -g create-react-app
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache\_logs\2022-03-16T01_36_37_123Z-debug-0.log
이렇게 하면 에러창이 나오는데
npm i -g create-react-app 해도 안돼거든요
해결방법 알수있을까요?





다행이네요! 아마 npm 모듈 관리하는 부분이 꼬이지 않았나 싶습니다 ㅠ
npx을 붙이면 npm install -g를 하지 않고도 모듈을 실행할 수 있도록 도와주는 모듈입니다!
일회성으로 사용하거나 따로 모듈을 저장하고싶지 않고 가끔씩 cli로 호출할 때 사용을 많이 합니다 :)