카테고리 없음
[React] You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.1). We no longer support global installation of Create React App.[에러 해결]
Prcnsi
2022. 8. 19. 15:28
728x90
이제 리액트 문법은 거의 익숙해 졌는데 초기 설치할 때 이런 에러가 뜰 때가 많다.
보통 지웠다 다시 설치하면 실행되지만
1. npm uninstall -g create-react-app
2. npx create-react-app [폴더명]
그래도 안 되면 아래와 같이 삭제하고 패키지를 다시 추가해준 다음에 실행해주면 된다.
- npm uninstall -g create-react-app
- npm add create-react-app
- 다시 npx create-react-app myapp
728x90