nkowaokwu / igbo_api

An API exposing Igbo words, definitions, and more
https://igboapi.com
Apache License 2.0
316 stars 141 forks source link

Husky pre-commit hook error #626

Open davydocsurg opened 1 year ago

davydocsurg commented 1 year ago

When attempting to run a git commit, I got this: Error [ERR_REQUIRE_ESM]: require() of ES Module error from husky.

This issue can be resolved by updating Husky to version 7.0.0 or later, which includes support for ES modules. Alternatively, developers can switch to using CommonJS modules in their pre-commit script.

Screenshots

Screenshot 2023-05-09 at 9 51 16 AM

Ideal Solution

Bump husky version to 7 to fix bug.

OS Details

macOS Ventura Version 13.0

vunderkind commented 1 year ago

Could someone assign this to me? If assigned tonight I can hand over a PR by tomorrow.

ijemmao commented 1 year ago

@vunderkind just assigned, good luck 🫡 and thank you!

vunderkind commented 1 year ago

Excellent — thank you!

On Tue, Jun 20, 2023 at 1:44 PM Ijemma Onwuzulike @.***> wrote:

@vunderkind https://github.com/vunderkind just assigned, good luck 🫡 and thank you!

— Reply to this email directly, view it on GitHub https://github.com/nkowaokwu/igbo_api/issues/626#issuecomment-1598702223, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHACDK3TPT6VTHHBXIE5A3XMGLMBANCNFSM6AAAAAAX3BROUE . You are receiving this because you were mentioned.Message ID: @.***>