npx를 써야하는 이유
1. npx란?
2. npm을 통해 까는 것의 문제점
3. npx로 해결
4. npm 패키지 삭제
00 결론 => npx로 깔자
$ npx create-react-app comento-shopping
1. npx란?
npx는 자바스크립트 패키지 관리 모듈인 npm의 5.2.0버전부터 새로 추가된 도구
따라서 npm 버전이 5.2.0 이상이면 바로 사용 가능
2. npm을 통해 까는 것의 문제점
$ npm i -g create-react-app
$ create-react-app HelloReact
3. npx로 해결
$ npx create-react-app HelloReact
4. npm 패키지 삭제
$ npm uninstall -g create-react-app
Create React App 공식 깃허브
https://github.com/facebook/create-react-app