create-react-app2 npm i create-react-app 와 npx create-react-app my-app 의 차이점 npm i create-react-app create-react-app 도구를 내 컴퓨터에 설치한다.예전에는 이 방법으로 도구를 설치한 후에 React 프로젝트를 만들었지만 현재는 이 방법을 사용하는 것을 권장하지 않는다.npm i에서 i는 install의 약자이며, 패키지를 설치하라는 명령을 의미한다.(npm install create-react-app은 npm i create-react-app과 동일한 의미)npx create-react-app my-appcreate-react-app 도구를 임시로 다운로드해서 바로 실행한다.my-app은 만들고 싶은 프로젝트 이름을 적어주면 된다.npx를 사용하면 매번 설치할 필요 없이 최신 버전으로 프로젝트를 쉽게 만들 수 있다.간단 요약npm i create-r.. 2024. 10. 6. [개인 프로젝트 error] npx create-react-app 개인 프로젝트를 하려고 유튜브 영상을 보며 리액트를 설치하다가 에러가 났다 npx(라이브러리 설치를 도와주는 명령어 node.js 설치되어있어야 가능) create-react-app (리액트를 만들기 쉽게 도와주는 라이브러리의 이름이며 리액트 세팅이 완료된 boilerplate이다 ) // 터미널 에러 이름 @ 이름-ui-MacBookAir lottoProject % npx create-react-app lotto You are running `create-react-app` 5.0.0, which is behind the latest release (5.0.1). We no longer support global installation of Create React App. Please remove an.. 2022. 5. 30. 이전 1 다음 728x90