Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- react
- react env
- nextjs .env
- API token
- react typescript
- ngrok설치
- 컨디셔널 렌더링
- There isn’t anything to compare
- fetch
- rewrites
- github io
- github
- API 토큰
- styled components
- getModifierState
- nextjs 설치
- bootstrap
- nextjs
- SCSS
- next.js css
- CSS
- npm styled-reset
- git lab
- typescript react
- createGlobalStyle
- dart 변수
- input type=file
- ngrok실행
- Git
- icon
Archives
- Today
- Total
꾸준히 성장하는 개발자
[에러] Need to install the following packages: create-react-app 본문
Need to install the following packages:
create-react-app
Ok to proceed? (y)
이런식으로 뜨면서 깔리다가 파일이 지워지면서 끝난다...
검색을 해보니
방법 1
npx clear-npx-cache //npx.에서 캐시를 지워준다
npx create-react-app <app-name>
그런다음 다시 실행하고
Need to install the following packages:
create-react-app
Ok to proceed? (y)
문구가 나오면 수락(y)
방법 2
npx create-react-app@latest <app-name>
이렇게 명령어를 치면 최신버전으로 설치되면서 설치가 완료된다.
난 방법 2번으로 해결했다.
'React' 카테고리의 다른 글
[React] React.memo() (0) | 2022.05.04 |
---|---|
[에러] Plugin "react" was conflicted between "package.json » eslint-config-react-app (3) | 2022.04.29 |
[React]useState( ) (0) | 2022.04.27 |
[React]styled-component 를 이용한 theme (0) | 2022.03.01 |
[React] props type (0) | 2022.02.28 |