문제
npm install 시 다음과 같은 문구 출력
패키지 설치시 라이브러리 충돌로 인한 것으로 판단.
검색하였을 때 react-scripts 라이브러리에서 발생.
8 vulnerabilities (2 moderate, 6 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
Npx create-react-app: 8 vulnerabilities (2 moderate, 6 high) · Issue #13607 · facebook/create-react-app
Describe the bug When I create a new npx create-react-app application and install any dependencies I receive the message: 8 vulnerabilities (2 moderate, 6 high) Did you try recovering your dependen...
github.com
해결 방법
package.json에 다음을 추가
"overrides": {
"react-scripts": {
"@svgr/webpack": "8.1.0",
"typescript": "4.9.5",
"postcss": "8.4.38"
}
}
'Develop > JavaScript' 카테고리의 다른 글
[React] WSL에 Dockerfile로 React 환경 구축 (0) | 2025.03.25 |
---|
문제
npm install 시 다음과 같은 문구 출력
패키지 설치시 라이브러리 충돌로 인한 것으로 판단.
검색하였을 때 react-scripts 라이브러리에서 발생.
8 vulnerabilities (2 moderate, 6 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
Npx create-react-app: 8 vulnerabilities (2 moderate, 6 high) · Issue #13607 · facebook/create-react-app
Describe the bug When I create a new npx create-react-app application and install any dependencies I receive the message: 8 vulnerabilities (2 moderate, 6 high) Did you try recovering your dependen...
github.com
해결 방법
package.json에 다음을 추가
"overrides": {
"react-scripts": {
"@svgr/webpack": "8.1.0",
"typescript": "4.9.5",
"postcss": "8.4.38"
}
}

'Develop > JavaScript' 카테고리의 다른 글
[React] WSL에 Dockerfile로 React 환경 구축 (0) | 2025.03.25 |
---|