안녕하세요

프로그램 과정에서 막혔던 문제들에 대한 해결책 정리


페이지 목록

2023년 6월 5일 월요일

npm install 시 발생하는 vulnerabilities 에 대해서

출처: https://stackoverflow.com/questions/70418259/why-does-my-npm-install-give-so-many-vulnerabilities#:~:text=If%20you%20are%20following%20an,then%20run%20npm%20i%20again.

 이게 정답인지는 모르겠으나 구글링 해보니 버전 문제라고 한다. 

안 나오게 하려면 package.json에서 @version을 지우고 다시 해보라고 한다.


If you are following an old video, you are likely installing old packages. Therefore it's pretty common to have vulnerabilities. If you want the warnings to disappear, you can try to remove @version in your packages inside package. json and then run npm i again.

댓글 없음:

댓글 쓰기