-
카테고리
-
세부 분야
풀스택
-
해결 여부
미해결
create react app . 명령어 실행이 안됩니다.
22.01.12 10:05 작성 조회수 1.34k
1
답변을 작성해보세요.
0
0
atandedu
질문자2022.01.12
다른 폴더를 생성해서 실행해 보았는데
Creating a new React app in /Users/myherbceo/Desktop/learn all with javascript/test.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /Users/myherbceo/.npm/_cacache/content-v2/sha1/45/d1
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR! sudo chown -R 501:20 "/Users/myherbceo/.npm"
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/myherbceo/.npm/_logs/2022-01-12T01_19_51_358Z-debug.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json
Deleting test/ from /Users/myherbceo/Desktop/learn all with javascript
Done.
myherbceo@ijiwon-ui-MacBookAir test %
답변 3