मैं हाल ही में उन्नत की निर्भरता पैकेज में.json करने के लिए । मैं चला गया से कोणीय 12.2.0 करने के लिए 13.0.1 और github अब खारिज मेरी धक्का के साथ निम्न फ़ाइल का आकार त्रुटि । है वहाँ कुछ सेटिंग मैं को परिभाषित करने की जरूरत में कोणीय.json का निर्माण प्रोफ़ाइल की पहुंच में मदद मिलेगी कि कम से कम इन कैश फ़ाइल आकार?
remote: warning: File .angular/cache/angular-webpack/72163742903fc8ba00e684045de261c2e3a2fb86/3.pack is 54.01 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File .angular/cache/angular-webpack/72163742903fc8ba00e684045de261c2e3a2fb86/2.pack is 56.42 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: error: Trace: 0b9557fffbe30aac33f6d9858ef97559341c5c1614ace35524fcba85ac99ca76
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File .angular/cache/angular-webpack/72163742903fc8ba00e684045de261c2e3a2fb86/3.pack is 122.06 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: File .angular/cache/angular-webpack/72163742903fc8ba00e684045de261c2e3a2fb86/5.pack is 123.92 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: File .angular/cache/angular-webpack/f48e9bc724ec0d5ae9a9d2fed858970d0a503f10/0.pack is 154.05 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: File .angular/cache/angular-webpack/9327900b3187f0b6351b4801d208e7b58f1af17e/0.pack is 165.50 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: File .angular/cache/angular-webpack/663bcd30d50863949acf1c25f02b95cab85c248a/0.pack is 151.56 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: File .angular/cache/angular-webpack/663bcd30d50863949acf1c25f02b95cab85c248a/0.pack is 151.55 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 फ़ाइल की जड़ में आवेदन और मैचों का सुझाव दिया उदाहरण:
जब जोड़ने
/.angular/cache
के लिए gitignore फ़ाइल, मैं चलाने के लिएgit rm -rf --cached . && git add . && git commit -m 'fix(gitignore): add angular cache' && git push --set-upstream origin chore/bump-deps
लेकिन अभी भी आकार फ़ाइल में त्रुटि ।
/.angular/cache
है , लेकिन मैं अभी भी आकार पाने चेतावनी:$ git check-ignore -v -- .angular/cache/angular-webpack/72163742903fc8ba00e684045de261c2e3a2fb86/2.pack .gitignore:35:/.angular/cache .angular/cache/angular-webpack/72163742903fc8ba00e684045de261c2e3a2fb86/2.pack