게시글
질문&답변
2022.01.12
create react app . 명령어 실행이 안됩니다.
요렇게 뜨네요.. npm node 설치 문제인거 같은데 해결방법을 모르겠습니다
- 1
- 3
- 1.5K
질문&답변
2022.01.12
create react app . 명령어 실행이 안됩니다.
다른 폴더를 생성해서 실행해 보았는데 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 %
- 1
- 3
- 1.5K