CI/CD#001

GitHub Actions 빌드 실패 로그 분석

상황

팀원이 코드를 push한 후 GitHub Actions CI 파이프라인이 실패했습니다. 로컬 환경에서는 정상적으로 빌드가 되지만, CI에서만 실패합니다. 빌드 로그를 분석하여 원인을 찾으세요.

제공 데이터

Run npm ci
npm warn deprecated @types/react@17.0.80: This is a stub types definition. react provides its own type definitions.

npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: react-beautiful-dnd@13.1.1
npm error Found: react@19.0.0
npm error node_modules/react
npm error   react@"^19.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.8.5 || ^17.0.0 || ^18.0.0" from react-beautiful-dnd@13.1.1
npm error node_modules/react-beautiful-dnd
npm error   react-beautiful-dnd@"^13.1.1" from the root project
npm error
npm error Conflicting peer dependency: react@18.3.1
npm error Fix the upstream dependency conflict, or retry
npm error this command with --legacy-peer-deps
npm error
npm error See /home/runner/.npm/eresolve-report.txt for a full report.

npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-01-15T10_30_00_000Z-debug-0.log
Error: Process completed with exit code 1.
해결 노트 (Markdown)