Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zipped realm dependency is over 100MB #6740

Closed
georgeevans1995 opened this issue Jun 20, 2024 · 2 comments
Closed

Zipped realm dependency is over 100MB #6740

georgeevans1995 opened this issue Jun 20, 2024 · 2 comments
Assignees

Comments

@georgeevans1995
Copy link

How frequently does the bug occur?

Always

Description

I just updated to realm 12.11.0 and can't push changes to github as the zipped dependency for realm is 175MB. Looks like the zip file is over 3 times larger then 12.10.0, have some files been added to the bundle by accident maybe?

Stacktrace & log output

File .yarn/cache/realm-npm-12.11.0-6c3752aa4e-bf4ab585b4.zip is 179.50 MB; this exceeds GitHub's file size limit of 100.00 MB

Can you reproduce the bug?

Always

Reproduction Steps

using yarn. yarnrc.yml looks like the below:

enableImmutableInstalls: false
nmHoistingLimits: workspaces
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-3.5.1.cjs

Version

12.11.0

What services are you using?

Both Atlas Device Sync and Atlas App Services

Are you using encryption?

Yes

Platform OS and version(s)

Mac Sonoma 14.3

Build environment

Which debugger for React Native: ..

Cocoapods version

No response

Copy link

sync-by-unito bot commented Jun 20, 2024

➤ PM Bot commented:

Jira ticket: RJS-2839

@nirinchev
Copy link
Member

This is due to now including prebuilds for android in the package, which was introduced in #6650. In general, committing dependencies to git is bad practice as those can be downloaded post cloning from npm. If you absolutely need to store the dependencies in git, then it's best to do that using git lfs, regardless of their size.

@nirinchev nirinchev closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2024
@sync-by-unito sync-by-unito bot closed this as completed Jun 20, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants