๐Ÿ‘ฉ‍๐Ÿ’ป๊ฐœ๋ฐœ_TIL/์—๋Ÿฌ

[๋ฆฌ์•กํŠธ]You are running `create-react-app` x.x.x, which is behind the latest release (x.x.x)

Daisy.lee 2021. 12. 15. 10:46

๊ฐœ์ธ ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•˜๊ธฐ ์œ„ํ•ด ํ„ฐ๋ฏธ๋„์— ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ–ˆ๋”๋‹ˆ, ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.

create-react-app์˜ ๋ฒ„์ „์ด ์ตœ์‹ ์ด ์•„๋‹ˆ๋ผ์„œ ์ƒ๊ธฐ๋Š” ๋ฌธ์ œ์ธ ๊ฒƒ๊ฐ™์Šต๋‹ˆ๋‹ค.

ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

stackoverflow์—์„œ ํ•ด๋‹น ์—๋Ÿฌ๋ฅผ ๊ฒ€์ƒ‰ํ•ด๋ณด๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋‹ต๋ณ€์„ ์ฐพ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

(์ถœ์ฒ˜: stackoverflow)

 

create-react-app is not working since version 4.0.1

I tried installing create-react-app using npm i create-react-app, npx create-react-app new-app and npm init react-app new-app, but I keep getting this error message: You are running create-react-ap...

stackoverflow.com

npm uninstall -g create-react-app && npm i -g npm@latest && npm cache clean -f && npx create-react-app my-app

๋‹ค๋ฅธ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

์ €๋Š” ํ•ด๋‹น ๋ฐฉ๋ฒ•์œผ๋กœ ๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋˜์ง€ ์•Š์•„ ๊ตฌ๊ธ€๋ง์„ ํ•˜๋˜ ์ค‘,

facebook์˜ ๊นƒํ—™์— ์˜คํ”ˆ๋œ ์ด์Šˆ๋“ค ์ค‘์—์„œ ์ ์ ˆํ•œ ๋ฐฉ๋ฒ•์„ ์ฐพ์•˜์Šต๋‹ˆ๋‹ค.

 

 

 

https://github.com/facebook/create-react-app/issues/10601

 

"npx create-react-app my-app" stopped working in 4.0.3 · Issue #10601 · facebook/create-react-app

Describe the bug /tmp โ–ถ npx create-react-app my-app You are running `create-react-app` 4.0.1, which is behind the latest release (4.0.3). We no longer support global installation of Create React Ap...

github.com

์œ„์™€ ๊ฐ™์€ ๋ช…๋ น์–ด๋กœ ๋‹ค์‹œ ์‹คํ–‰ํ•˜๋‹ˆ๊นŒ ํ”„๋กœ์ ํŠธ ํด๋”๊ฐ€ ์ž˜ ์ƒ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

๋‹ค๋ฅธ ๋ฐฉ๋ฒ•์œผ๋กœ๋„ ํ•ด๊ฒฐ๋˜์ง€ ์•Š๋Š”๋‹ค๋ฉด @latest์™€ ๊ฐ™์€ ํ‚ค์›Œ๋“œ๋ฅผ ๊ฐ™์ด ์‚ฌ์šฉํ•˜์—ฌ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•ด๋ณด์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค!๐Ÿ˜Š