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

Getting error: .husky/pre-commit: line 2: .husky/_/husky.sh: No such file or directory #1855

Closed
jongund opened this issue Apr 12, 2021 · 5 comments

Comments

@jongund
Copy link
Contributor

jongund commented Apr 12, 2021

@nschonni

I am getting the following error after creating a new branch when I commit:
.husky/pre-commit: line 2: .husky/_/husky.sh: No such file or directory

What do I need to do?

@nschonni
Copy link
Contributor

@zcorpan updated it to a newer version in #1756
Not sure what other changes might be required

@jongund
Copy link
Contributor Author

jongund commented Apr 12, 2021

@nschonni
@zcorpan
So what should I do?
I have a new branch slider-valuetext for changes to the examples using aria-valuetext, and I cannot even commit to the repository.

NOTE: I created the slider-valuetext branch form the main branch earlier today, if that helps.
So it should be using the latest stable code.

@jongund
Copy link
Contributor Author

jongund commented Apr 13, 2021

@nschonni
@zcorpan
@mcking65
Look for some guidance here on what should be my next step?
Is pushing new branches to the APG repository broken?

Just did an npm install and it seems to be working now.

@jongund
Copy link
Contributor Author

jongund commented Apr 13, 2021

The npm install seemed to fix the problem.

@jongund jongund closed this as completed Apr 13, 2021
@zcorpan
Copy link
Member

zcorpan commented Apr 20, 2021

Seeing this now -- apologies for the delay, but good that npm install fixed it!

As noted in #1756 (comment) the update had breaking changes, so with the current main you need the new version of husky (which npm install does).

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

No branches or pull requests

3 participants