DBILITY

독거 가능성 100% 노후에 라면값이라도 하게 센스를 발휘합시다!😅
Please click on the ad so that I can pay for ramen in my old age!
点击一下广告,让老后吃个泡面钱吧!
老後にラーメン代だけでもするように広告を一回クリックしてください。

intellij You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.1). 본문

intellij

intellij You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.1).

DBILITY 2023. 1. 18. 16:39
반응형

nodejs를 18.13.0으로 업데이트 했다.

react프로젝트를 생성하는데 다음과 같은 에러가 났다. 이전에도 비슷한게 있었다.

"C:\Program Files\nodejs\npx.cmd" --yes create-react-app .

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.

Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app

The latest instructions for creating a new app can be found here:
https://create-react-app.dev/docs/getting-started/

원천적 해결 방안이 없나..ㅎㅎ

https://stackoverflow.com/questions/70358643/you-are-running-create-react-app-4-0-3-which-is-behind-the-latest-release-5-0

 

"You are running create-react-app 4.0.3 which is behind the latest release (5.0.0)"

I got an error while creating a React application. How do I fix it?

stackoverflow.com

#npx clear-npx-cache

npm uninstall -g create-react-app

npm cache clean --force

npm cache verify

명령창으로 워크디렉토리에서 위 처럼 입력했다.

 

반응형
Comments