커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
맥북에서 yarn이 설치가 안되네요
undefined주차
북마크
손*경
댓글
19
추천
0
조회수
32
조회수
32
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.

✘ shindongkeun  ~/react-todo-app   main  npm install -g yarn

npm ERR! code ECONNREFUSED

npm ERR! syscall connect

npm ERR! errno ECONNREFUSED

npm ERR! FetchError: request to http://registry.npmjs.org/yarn failed, reason: connect ECONNREFUSED 2606:4700::6810:1423:80

npm ERR!   at ClientRequest.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)

npm ERR!   at ClientRequest.emit (node:events:513:28)

npm ERR!   at Socket.socketErrorListener (node:_http_client:494:9)

npm ERR!   at Socket.emit (node:events:525:35)

npm ERR!   at emitErrorNT (node:internal/streams/destroy:151:8)

npm ERR!   at emitErrorCloseNT (node:internal/streams/destroy:116:3)

npm ERR!   at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

npm ERR! FetchError: request to http://registry.npmjs.org/yarn failed, reason: connect ECONNREFUSED 2606:4700::6810:1423:80

npm ERR!   at ClientRequest.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)

npm ERR!   at ClientRequest.emit (node:events:513:28)

npm ERR!   at Socket.socketErrorListener (node:_http_client:494:9)

npm ERR!   at Socket.emit (node:events:525:35)

npm ERR!   at emitErrorNT (node:internal/streams/destroy:151:8)

npm ERR!   at emitErrorCloseNT (node:internal/streams/destroy:116:3)

npm ERR!   at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {

npm ERR!  code: 'ECONNREFUSED',

npm ERR!  errno: 'ECONNREFUSED',

npm ERR!  syscall: 'connect',

npm ERR!  address: '2606:4700::6810:1423',

npm ERR!  port: 80,

npm ERR!  type: 'system',

npm ERR!  requiredBy: '.'

npm ERR! }

npm ERR! 

npm ERR! If you are behind a proxy, please make sure that the

npm ERR! 'proxy' config is set properly. See: 'npm help config'


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

npm ERR!   /Users/shindongkeun/.npm/_logs/2022-12-30T03_58_09_699Z-debug-0.log


계속 이런 에러가 뜨는데 어떻게 하면 좋을까요








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