반응형
IntelliJ, windows 환경에서 react를 설치할려고 "npm install -g create-react-app" 명령어를 실행시켰다. 그리고 다음과 같이 문제가 발생하였고 그리고 해결은 다음과 같이 하였습니다.
<문제>

PS E:\ideaIC-2023.1.4.win\workspaces\a> npm install -g create-react-app
npm WARN tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
changed 67 packages in 8s
5 packages are looking for funding
run `npm fund` for details
<해결방법>
"npm" 명령어 없이 아래의 react 프로젝트를 생성하면 됩니다.
![create-react-app [appname]](https://blog.kakaocdn.net/dna/dlvcmO/btsoRjIgtBs/AAAAAAAAAAAAAAAAAAAAABEyxX_-kyhi2QIO_UpM3kDof-fngaRH4PzmxsuUEKGE/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&expires=1764514799&allow_ip=&allow_referer=&signature=TTjnNyL%2B0zSPiwWaFJicLs3xXQo%3D)
create-react-app [appname]
반응형