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

Postinstall script is not being executed #106

Closed
CaptainLiao opened this issue Mar 7, 2024 · 2 comments
Closed

Postinstall script is not being executed #106

CaptainLiao opened this issue Mar 7, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@CaptainLiao
Copy link

CaptainLiao commented Mar 7, 2024

Thanks for your working. I'm love it.

But when I use yarn to install simple-git-hooks, the postinstall script is not being executed. It's yarn's bug that not be fixed. see 5476.

Would you please offer install script replace postinstall? Like pre-commit.

@toplenboren
Copy link
Owner

Hi! Thanks for the issue

You can run npx simple-git-hooks and the hooks will be installed manually

--

In future versions we can add install: ./postinstall.js in package.json, will it fix your issue?

@CaptainLiao
Copy link
Author

Yeah,npx simple-git-hooks address the issue.

Awaiting the new version~

@toplenboren toplenboren added enhancement New feature or request good first issue Good for newcomers labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants