에러해결

    [에러 해결] React 프로젝트에서 npm install 명령어가 실행이 안되는 문제

    전에도 이렇게 초기 셋팅된 React 프로젝트에서 npm install 문제가 있었던 것 같은데 안적어놓은 나의 문제.. 오늘은 상세히 적어둘 것이다!!! 🩺 에러 발생 일단 내 상황은 다음과 같다. 1. create-react-app으로 막 따끈따끈하게 만든 프로젝트 2. npm start는 잘 되어 잘 뜬다. 3. 그런데 외부 라이브러리를 설치하려고 npm install 라이브러리 하면 에러가 파파팍!! 나는 그저 Material UI를 쓰려 했을 뿐인데... 다음과 같이 엄청 긴 에러 메세지들이 나를 반긴다. PS C:\study\프로젝트명> npm install @mui/material @emotion/react @emotion/styled npm ERR! code ERESOLVE npm ERR!..

    [에러 해결] create-react-app 오류(You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0).)

    어쩌다보니 첫 글부터 에러 해결글이라니 🩺 에러 발생 지원했던 회사에서 서류 합격 메일이 오면서 사전 과제를 받게 되었다. TypeScript기반 React 프로젝트 하나 만들려고 cmd창에 다음과 같이 적었다. npx create-react-app 프로젝트명 --template typescript 그런데 오잉 다음과 같이 에러가 떴다. You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0). We no longer support global installation of Create React App. Please remove any global installs with one of the following ..