[Next.JS] Git push 에러 해결하기
Next.js 배포 전에 Github 레포지토리를 만들어 push를 하는데 에러가 발생했다. 문제 1. 파일의 용량이 너무 큼 remote: error: File node_modules/@next/swc-darwin-arm64/next-swc.darwin-arm64.node is 101.20 MB; this exceeds GitHub's file size limit of 100.00 MB remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. 분명 .gitignore 파일에서 node-modules를 명시해 두었는데 왜 적용이 안된걸까? 우선 제안한 방..
코딩/Next.js
2024. 1. 31. 15:17