[React] You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0). ์˜ค๋ฅ˜ ํ•ด๊ฒฐ
etc

[React] You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0). ์˜ค๋ฅ˜ ํ•ด๊ฒฐ

์˜ค๋žœ๋งŒ์— React ์‹ค์Šต์„ ์œ„ํ•ด npx create-react-app ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ–ˆ๋”๋‹ˆ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

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

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/

 

์‹œํ‚ค๋Š” ๋Œ€๋กœ npm uninstall -g create-react-app ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•ด ๋ณด์•˜๋Š”๋ฐ๋„, ํ•ด๊ฒฐ์ด ๋˜์ง€ ์•Š์•˜๋‹ค.

 

์„œ์น˜ํ•ด ๋ณด์•˜๋”๋‹ˆ, ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ช…๋ น์„ ์ˆœ์„œ๋Œ€๋กœ ์ž…๋ ฅํ•˜๋ฉด ํ•ด๊ฒฐ์ด ๋œ๋‹ค๊ณ  ํ•ด์„œ ์‹œ๋„ํ•ด ๋ณด์•˜๋‹ค.

 

npm uninstall -g create-react-app

npm add create-react-app

npx create-react-app

 

์ด๋ ‡๊ฒŒ ํ–ˆ๋”๋‹ˆ ์ •์ƒ์ ์œผ๋กœ ์ž˜ ์‹คํ–‰์ด ๋˜์—ˆ๋‹ค.

 

๊ทธ๋Ÿฐ๋ฐ, ์ด๊ฒŒ ๋‚ด ์ปดํ“จํ„ฐ์—์„œ๋Š” ์ผํšŒ์„ฑ ๋ฐฉ๋ฒ•์œผ๋กœ ๋จนํ˜”๋˜๊ฑด์ง€ ์–ด์ฉ๊ฑด์ง€.. ๋‘ ๋ฒˆ์งธ๋กœ ๋‹ค๋ฅธ ์œ„์น˜์—์„œ ๋‹ค์‹œ create-react-app์„ ํ–ˆ๋”๋‹ˆ ๋˜ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐ˜๋ณต๋˜์—ˆ๋‹ค...๐Ÿคฌ

 

๊ทธ๋ž˜์„œ ๋‹ค์‹œ ์„œ์น˜ํ•ด๋ณด๋‹ˆ, ์•„๋ฌด๋ž˜๋„ npx ์บ์‹œ ๋ฌธ์ œ์˜€๋˜ ๊ฒƒ ๊ฐ™๋‹ค.

 

npx clear-npx-cache

 

์œ„์˜ ๋ช…๋ น์–ด๋กœ npx ์บ์‹œ๋ฅผ ์‚ญ์ œํ•˜๊ณ  ๋‚˜๋‹ˆ, ๋‹ค๋ฅธ ์œ„์น˜์—์„œ create-react-app์„ ์—ฌ๋Ÿฌ ๋ฒˆ ์‹œ๋„ํ•ด๋„ ์ •์ƒ์ ์œผ๋กœ ์ž˜ ์‹คํ–‰๋œ๋‹ค! ๐Ÿฅณ

 

 

 

 

์ฐธ๊ณ 

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