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
나중에 공부하다가 이걸 이해하게 되는 순간이 오면 다시 와서 내 언어로 수정해야겠다.
'Study Output for Myself > React' 카테고리의 다른 글
[React]useNavigate Hook (0) | 2022.08.19 |
---|---|
[React]Redux (0) | 2022.08.11 |
[React]useMemo & useCallBack (0) | 2022.05.30 |
react에서 Title 지정하기 (0) | 2022.05.24 |
LocalStorage에 데이터 저장, 불러오기 (0) | 2022.05.24 |