[React] npx create-react-app (CRA) ERROR

개발일지·2022년 8월 2일
0

삽질 모음

목록 보기
1/2

어느 날 부턴가 npx create-react-app를 했을 때 이런 에러를 막닥뜨리게 되었다

npm uninstall -g create-react-app

uninstall 해보라고 해서 열심히 해보았지만 해결되지 않아서

npx create-react-app@latest project-name

위와 같은 방식으로 create-react-app을 실행했었는데

다른 방법이 없을까 문서를 보다가

instructions for older npm versions를 발견했다!

해결

이제 @latest를 붙이지 않아도 잘 실행이 된다

npm install create-react-app
npx create-react-app project-name
profile
Frontend Engineer

0개의 댓글

관련 채용 정보