본문 바로가기

JavaScript/React-Error

[React 에러] This is likely because you're using an outdated version of create-react-app.

리액트를 설치하려고 할때

 

openssl config failed: error:02001003:system library:fopen:No such process

A template was not provided. This is likely because you're using an outdated version of create-react-app.
Please note that global installs of create-react-app are no longer supported.

 

위 와 같은 에러가 발생 할 경우,

리액트 create-react-app 의 버전이 오래 됐기 때문이다.

 

이러한 경우

npx create-react-app my-app

로 업데이트를 받거나

 

npm uninstall -g create-react-app
npm install -g create-react-app

지웠다 다시 설치하면 된다.

 

그 이후

 

npx create-react-app my-app

 

로 다시 설치하면 된다.

'JavaScript > React-Error' 카테고리의 다른 글

[React-Native] ERR! code ELIFECYCLE , errno 1 에러  (0) 2019.12.12