TIL # 2022.04.15

kdobro_dev·2022년 4월 15일
0

TIL (Today I Learned)

목록 보기
47/58
post-thumbnail

React 에러

npx create-react-app 명령어를 입력해서 리액트 앱을 새로 실행시키려 했지만 이러한 에러가 발생되었다.

에러 메세지를 보면 global installs를 remove 하고 아래 있는 명령어를 입력하라는 것을 확인 할 수 있다.

npm uninstall -g create-react-app
npm add create-react-app
다시 npx create-react-app [app-name]

위에 명령어를 순서대로 입력하면 다시 react-app을 실행시킬 수 있다.!!

profile
do your best at any moment

1개의 댓글

관련 채용 정보