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. 오류 해결하기
npx create-react-app .
를 입력했더니
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.
라는 오류가 발생했다.
아래는 오류 전문
오류에 쓰여있던 대로
npm uninstall -g create-react-app
yarn global remove create-react-app
둘 다 시도해봤는데 여전히 안됨..
npm add create-react-app
을 입력해주고 다시
npx create-react-app .
를 하면 잘 된다!
참고한 사이트
[리액트 오류해결 ] You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0).
리액트를 셋팅하는 기본코드를 치자 처음보는 에러가 발생되었다.npx create-react-app myappYou are running create-react-app 4.0.3, which is behind the latest release (5.0.0).We no l
velog.io
yarn add -D, npm install -D에서 D의 의미 (0) | 2022.07.06 |
---|---|
[React] jsconfig.json으로 절대 경로 설정하기(Module not found: Error: You attempt to import /.../... which falls outside of the project src/ directory. 오류 해결하기) (0) | 2022.06.28 |
CSS reset with Styled Components (0) | 2022.06.24 |
영문 폰트 따로 설정하기(Styled Component) (0) | 2022.06.16 |
RESTful API 설계하기 (0) | 2022.06.16 |