manjaro 에서 update 할때 npm : /usr/lib/node_modules/npm/node_modules/query-string/index.d.ts 중복오류 발생

Kim jae-eok·2020년 5월 2일
0

원인

과게에 npm 을 pacman 으로 설치하고 최근에 npm install -g npm 을 해서 중복된 파일이 발생하여 무결성 검사에 실패함

조치

$ sudo pacman -S npm --overwrite /usr/lib/node_modules/npm/node_modules/query-string/index.d.ts

명령어로 해결

pacman 설치시 중복된 파일이 있을경우 --overwrite /filepath 을 사용하자

  • nvm 설치하자
profile
블로그 이전 중 (https://www.notion.so/My-blog-0d569b9028434fb6a99a3e66b6e807b1)

0개의 댓글