remote: error: File node_modules/.cache/default-development/11.pack is 110.44 MB; this exceeds GitHub's file size limit of 100.00 MB #51464
Replies: 4 comments 3 replies
-
|
This error message is indicating that you are trying to push a file named node_modules/.cache/default-development/11.pack to GitHub, but it is larger than the maximum file size limit allowed by GitHub, which is 100.00 MB. To resolve this issue, you will need to remove the file from your repository and try pushing again. Here's what you can do:
By removing the file that exceeds GitHub's file size limit, you should be able to push your changes to GitHub without encountering this error message. |
Beta Was this translation helpful? Give feedback.
-
|
$ git rm --cached node_modules/.cache/default-development/11.pack |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for posting in the GitHub Community, @DMitu ! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category, the Issues category is solely related to conversations around the GitHub products Issues and Projects. I've gone ahead and moved it for you. Good luck! |
Beta Was this translation helpful? Give feedback.
-
|
Removing the large file in a new commit won't work, you have to remove it from the whole repository history. Otherwise it'll still be pushed (or rather fail to transfer) as part of the older commit that introduced it. See https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository for ways to do that, the process is the same whether you want to remove a file from history because it's secret or too large. 😉 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
remote: Resolving deltas: 100% (18092/18092), done.
remote: error: Trace: 070b69b6d4e44ee3df0e8070f13a09be78ed766bc07d90da4edbf934eba13253
remote: error: See https://gh.io/lfs for more information.
remote: error: File node_modules/.cache/default-development/11.pack is 110.44 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.
To https://github.com/DMitu/frizeriadd.git
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/DMitu/frizeriadd.git'
i did everything i could find about this error and still can't solve this issue. Any advice would be great.
Beta Was this translation helpful? Give feedback.
All reactions