에러 메시지
npm error code EACCES
npm error syscall open
npm error path /Users/doh/.npm/_cacache/index-v5/2c/7c/c9815551da12cffdca41aeb03709231e9d009cc383ac90a2148780c3e753
npm error errno EACCES
npm error
npm error Your cache folder contains root-owned files, due to a bug in
npm error previous versions of npm which has since been addressed.
npm error
npm error To permanently fix this problem, please run:
npm error sudo chown -R 501:20 "((파일경로))/.npm"
npm error A complete log of this run can be found in: /Users/doh/.npm/_logs/2024-08-07T12_03_40_186Z-debug-0.log
Something went wrong installing JavaScript dependencies. Check your npm logs. Continuing to create the app.
Error: npm install exited with non-zero code: 1
해결
sudo chown -R 501:20 "((파일경로))/.npm"
'FE > Error' 카테고리의 다른 글
| An error occurred while installing .NET: The requested and or resolved version is invalid. (0) | 2024.11.13 |
|---|---|
| Unable to load contents of file list (0) | 2024.08.27 |
| 프로젝트 재실행 (0) | 2024.08.16 |
| Failed to build ios project. "xcodebuild" exited with error code '65'. (0) | 2024.08.16 |