[cra] npx create-react-app error
npx create-react-app를 사용하여 리액트 앱을 생성할 때 아래와 같은 에러가 발생합니다. 메시지에서 제공하는 npm uninstall -g create-react-app 또는 yarn global remove create-react-app을 입력한 후에도 결과는 같기 때문에 에러에 대한 해결방안은 다음과 같습니다. 첫 번째 방법은 @latest와 함께 실행합니다. npx create-react-app@latest react-app 두 번째 방법은 패키지를 재설치 후 실행합니다. npm uninstall -g create-react-app npm install -g create-react-app npx create-react-app react-app 세 번째 방법은 cache를 삭제 후 실행..
개발
2022. 10. 13. 16:26