npm install -g create-react-app 에러
1122
작성한 질문수 1
npm install -g create-react-app
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code EEXIST
npm ERR! path C:\Users\user\AppData\Roaming\npm\create-react-app.ps1
npm ERR! EEXIST: file already exists
npm ERR! File exists: C:\Users\user\AppData\Roaming\npm\create-react-app.ps1
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Local\npm-cache\_logs\2022-01-15T08_35_49_232Z-debug.log
구글링 해서
Solution —
- Run “npm uninstall -g create-react-app”
- In various situations whereby the above does not work, run “which create-react-app” and uninstall it from there
- Then, run the command, “npx create-react-app project”
Alternatives —
- Run “npm uninstall -g create-react-app”, then “npm cache clean --force”
- Afterwards, try “npm cache verify” and “npx create-react-app project” or “yarn create react-app project”
- 위에 처럼 해도 nodejs가 제대로 생성이 안됩니다.. 왜 그런건지 궁금해서 질문합니다.
답변 2
0
에러를 읽었을 때현재 create-react-app이 이미 존재한다는 것 같습니다!
이전에 설치하셨다면 바로 다음으로 진행해도 괜찮을 것 같고,
만약 설치가 안됐다면 npm install -g create-react-app --force 요렇게 입력해보세요!
0
[해결]그랩님 답변 주세요.
0
160
2
그랩님의 답변을 기다립니다/102강 전반적인 에러
0
141
2
[그랩님께]101강 안드로이드 에러들(Key prop)해결방법 궁금합니다.
0
123
2
[재질문][그랩님 답변 부탁드립니다]101강
0
140
2
[그랩님 답변 부탁드립니다]101강 Axios 에러와 502 Bad Gateway 질문
0
97
2
Ngrok 설치 후 forwarding Url 에러
0
133
2
[그랩님께,Ngrok 악성코드 인식 해결방법]질문 드립니다.
0
217
2
Ngrok 설치 후 forwarding Url로 연결 불가
0
135
1
그랩님,[꼭] 답변 부탁드립니다.
0
65
1
[꼭][[꼭] 그랩님, 답변 부탁드립니다], Failed to load resource: the server responded with a status of 404 (Not Found) 상품 상세 페이지 질문입니다.
0
149
1
6강/7강 수업
0
50
1
그랩님, 상품 상세 페이지 에러와 의문점 질문드립니다.
0
98
2
그랩님, 해결되지 않은 에러 메시지 [꼭] 답변 부탁 드립니다.
0
134
2
[재 질문]Cannot read properties of undefined (reading 'map') TypeError: Cannot read properties of undefined (reading 'map') 에러 해결 어떻게 하나요?
0
88
1
Cannot read properties of undefined (reading 'map') TypeError: Cannot read properties of undefined (reading 'map') 에러 해결 어떻게 하나요?
0
127
2
일반적인 css 꾸미기에서 width와 height의 값?
0
90
2
Windows에서의 업로드 후 홈화면 상품이미지 오류 해결방법
0
193
1
그랩마켓 웹화면 구현하기 -2 질문입니다.
0
119
1
react에 반영이 되지 않습니다.
0
236
1
터미널 npm install -g create-react-app 작성 후 오류
0
419
1
create-react-app my app 실행 시 에러
0
354
2
포스트맨 질문
0
99
1
<꼭 답변 부탁 드립니다>그랩선생님, [컴포넌트 사용하기] 강의에서 질문 있습니다.
0
260
2
그랩선생님, 질문 답변 부탁 드립니다.vscode에서 npm install -g create-react-app 입력 후 에러 입니다.
0
473
2






w전 왜 안될까요.. 계속 오류가 뜹니다