npx create-react-app [project-name] 이 안된다??
2021. 12. 15. 04:47ㆍTIL(Today-I-Learned)/React
728x90
반응형
전에 했던 강의를 다시 만들어보고자 리액트를 생성하려고 했다.
그런데 아래와 같이 문제가 발생하면서
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.
npm uninstall -g create-react-app
or
yarn global remove create-react-app
을 진행하라는 것이었다.
그래서 npm uninstall -g create-react-app를 진행하고
npm install -g create-react-app
를 한 후
create-react-app [프로젝트 이름]
을 하니 정상적으로 생성이 되었다.
혹시 몰라
npx create-react-app [프로젝트이름]
해봤는데 다행이 잘 되었다.
참고
https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f
728x90
반응형
'TIL(Today-I-Learned) > React' 카테고리의 다른 글
github pages (0) | 2021.12.15 |
---|---|
React로 Todo-list 만들기(1) (0) | 2021.10.06 |
'21.10.02.(토) TIL - Create React app (0) | 2021.10.02 |