Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 2022년
- CPU스케쥴링
- EKS
- 로드밸런서
- alb
- 쿠버네티스
- 쿠베네티스
- 싱글톤 디자인 패턴
- Alembic
- 분산처리
- gunicorn
- 캐시서버
- SQLAlchemy
- 스케줄링
- 멀티스레드
- 백엔드 개발자
- Django
- 회고
- Python
- AWS
- FastAPI
- golang
- 스레드풀
- 메모리구조
- 가비지컬렉션
- 글또
- uvicorn
- nodejs
- nestjs
- K8S
Archives
- Today
- Total
서버에서 살아남기
npm i -g @nestjs/cli 본문
전역에 nestjs를 설치하려고
npm i -g @nestjs/cli
를 입력했더니 아래와 같은 에러가 났다
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /Users/soohyunlee/.npm/\_cacache/content-v2/sha512/ff/41
npm ERR! errno EACCES
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/soohyunlee/.npm"
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/soohyunlee/.npm/\_logs/2023-02-23T08\_21\_57\_152Z-debug-0.log
해결법
sudo npm cache clean --force
로 캐시 지우고 다시
npm i -g @nestjs/cli
하면 설치 완료!!
'각종에러' 카테고리의 다른 글
prompt_status:5: command not found: wc (0) | 2023.03.17 |
---|---|
zsh: command not found: eb (0) | 2023.03.12 |