You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Ideal Solution
Bump husky version to 7 to fix bug.
OS Details
macOS Ventura Version 13.0
The text was updated successfully, but these errors were encountered:
When attempting to run a git commit, I got this:
Error [ERR_REQUIRE_ESM]: require() of ES Module
error fromhusky
.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
Ideal Solution
Bump
husky
version to 7 to fix bug.OS Details
macOS Ventura Version 13.0
The text was updated successfully, but these errors were encountered: