어느 날 부턴가 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