Notice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- TypeScript
- this
- #cloudfront #s3 #html 확장자 없애기
- lightsail nodejs apache
- 객체참조 #객체
- ESLint
- url #querystring
- NPM
- 클로저
- OOP
- git pair
- jest
- 기후변화
Archives
- Today
- Total
Hello World...
npm 글로벌 패키지 확인 및 삭제하기 본문
npm 글로벌 패키지가 설치되어 있을 때 새로운 모듈과 충돌할 수 있으므로 삭제가 필요한 상황.
글로벌 모듈 확인
$ npm list -g --depth=0
console
├── eslint@6.8.0
├── eslint-config-airbnb-base@14.0.0
├── eslint-plugin-import@2.19.1
├── eslint-plugin-prettier@3.1.2
...
글로벌 모듈 삭제
$ npm uninstall -g <패키지이름>
console
removed 59 packages in 1.03s
$ npm uninstall -g <패키지이름>
명령어를 통해 삭제해주면 된다.
'programming' 카테고리의 다른 글
소켓과 웹소켓 (0) | 2020.02.03 |
---|---|
자료구조(Data Structure) (0) | 2019.12.30 |
JEST toBe, toEqual (0) | 2019.12.26 |
eslint, prettier and airBnB 설치 (0) | 2019.12.26 |
nvm (mac) (0) | 2019.12.26 |
Comments