Study Output for Myself/React

[react] 6 high severity vulnerabilities

Dahyee 2022. 8. 11. 16:17

create-react-app [name] 으로 react project를 시작하려 할 때마다 이 경고문구가 뜨기 시작했다.

그래서 시키는 대로 'npm audit fix --force'를 했는데 오히려 vulnerablilites가 늘어나기만 함..

 

검색 결과 이 해결책이 먹혔다.

설명도 써있는데 사실 원리를 이해하긴 아직 내가 그정도 실력이 아닌 거 같다.

https://github.com/facebook/create-react-app/issues/11174

 

Help, `npm audit` says I have a vulnerability in react-scripts! · Issue #11174 · facebook/create-react-app

npm audit is broken for front-end tooling by design Bad news, but it's true. See here for a longer explanation. If you think you found a real vulnerability in react-scripts If you know that it ...

github.com

해결법

나중에 공부하다가 이걸 이해하게 되는 순간이 오면 다시 와서 내 언어로 수정해야겠다.