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

[local-build-plugin] import tar correctly #418

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

szdziedzic
Copy link
Member

@szdziedzic szdziedzic commented Jun 17, 2024

Why

It seems like the export default statement was deleted in tar 7.x

We imported tar like import tar from 'tar' and it seems to be the root cause of the expo/eas-cli#2430 issue (Cannot read properties of undefined (reading 'c') - we use tar like tar.c(...))

How

Uninstall not needed @types/tar package and import the tar correctly

Test Plan

Test manually

@szdziedzic szdziedzic changed the title try to fix tar issue [local-build-plugin] import tar correctly Jun 17, 2024
@szdziedzic szdziedzic merged commit b3725ba into main Jun 17, 2024
4 checks passed
@szdziedzic szdziedzic deleted the @szdziedzic/try-to-fix-tar-issue branch June 17, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants