Vercel
Troubleshooting
Yarn 2 빌드 지원
2022년 06월 26일 기준 배포 중 빌드 스탭에서 다음과 같은 현상이 나타난다면:
Error: Command "yarn install" exited with 1
BUILD_UTILS_SPAWN_1: Command "yarn install" exited with 1
만약 yarn v2를 사용할 경우 yarn v1으로 다운그레이드 하자.
Does Vercel support Yarn 2? 페이지의 내용을 요약하면:
Vercel 빌드 파이프라인은 정적 빌드에 대해 Yarn 2만 지원합니다. 서버리스 함수 및 SSR(서버측 렌더링)은 Yarn 2에서 작동하지 않습니다. Vercel 빌드 파이프라인은 모든 배포 유형에 대해 Yarn 1을 완벽하게 지원합니다.
See also
Favorite site
- Vercel web site
- (Next.js) Vercel로 프론트 배포하기 - 개발자 지니의 기록
- (next.js) next.js, react, vercel로 30분만에 웹사이트 배포하기
- 블로그만들기(11) - Vercel로 프론트단 배포하기
Guide
- 오픈소스 BBC React SPA 를 Next.js 와 Vercel 마이그레이션 하기 | GeekNews - (Next.js, Vercel)
- [원문] Migrating a large, open-source React application to Next.js and Vercel – Vercel
- HMR: 1.3s to 131ms (10x faster)
- Network requests: 57 to 34 (🔻40%)
- 20,000 LOC removed and 30 fewer deps (🤯)