๊ฐ์ธ ํ๋ก์ ํธ๋ฅผ ์์ฑํ๊ธฐ ์ํด ํฐ๋ฏธ๋์ ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ๋๋, ๋ค์๊ณผ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ์ต๋๋ค.
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์ ๊ฐ์ ํค์๋๋ฅผ ๊ฐ์ด ์ฌ์ฉํ์ฌ ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํด๋ณด์๊ธฐ ๋ฐ๋๋๋ค!๐