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

Error when using git.short and git.branch #70

Open
whaaaley opened this issue Dec 15, 2022 · 5 comments · May be fixed by #73
Open

Error when using git.short and git.branch #70

whaaaley opened this issue Dec 15, 2022 · 5 comments · May be fixed by #73

Comments

@whaaaley
Copy link

whaaaley commented Dec 15, 2022

TypeError: Cannot read properties of undefined (reading 'filename')

Node version v19.0.0

This could be an error relating to module system. I'm using ESM imports.

@wkl007
Copy link

wkl007 commented Dec 21, 2022

I have the same problem please help us thanks a lot

@whaaaley
Copy link
Author

@wkl007 the project "async-git" seems to do the same job without errors

@wkl007
Copy link

wkl007 commented Dec 22, 2022

@whaaaley useful, thank you very much, i love you 😘

@NikitaVr
Copy link

same issue here, using ESM as well

@Juicetan
Copy link

Juicetan commented Mar 9, 2024

i got the error too when simply invoking git.branch()... however when i passed in a path git.branch('./') it worked fine.

@wkl007 wkl007 linked a pull request Oct 22, 2024 that will close this issue
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 a pull request may close this issue.

4 participants