커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
터미널에서 npm에 yarn 설치시 밑에 오류가 뜹니다.
[왕초보] 나만의 수익성 앱, 앱개발 종합반
2주차
북마크
위*우
댓글
3
추천
0
조회수
85
조회수
85
답변 완료

jangwoowe@JANGWOOWEui-MacBook-Pro ~ % npm install -g yarn

npm ERR! code EACCES

npm ERR! syscall mkdir

npm ERR! path /usr/local/lib/node_modules/yarn

npm ERR! errno -13

npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/yarn'

npm ERR! [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/yarn'] {

npm ERR!  errno: -13,

npm ERR!  code: 'EACCES',

npm ERR!  syscall: 'mkdir',

npm ERR!  path: '/usr/local/lib/node_modules/yarn'

npm ERR! }

npm ERR! 

npm ERR! The operation was rejected by your operating system.

npm ERR! It is likely you do not have the permissions to access this file as the current user

npm ERR! 

npm ERR! If you believe this might be a permissions issue, please double-check the

npm ERR! permissions of the file and its containing directories, or try running

npm ERR! the command again as root/Administrator.


npm ERR! A complete log of this run can be found in:

npm ERR!   /Users/jangwoowe/.npm/_logs/2022-09-04T05_51_53_044Z-debug-0.log

jangwoowe@JANGWOOWEui-MacBook-Pro ~ % 

취소
 공유
취소
댓글 0
댓글 알림
나의얼굴