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
The npm install -g ai-commit command did not install the 'call-bind' module. Manual installation required npm install -g call-bind. After installing call-bind it works.
My config:
Apple M1 - 8 GB - macOS Sonoma - Versão 14.0 (23A344)
Run command ai-commit -> exception ->
Details
node:internal/modules/cjs/loader:1048
const err = new Error(message);
^
Error: Cannot find module 'call-bind'
Require stack:
- /opt/homebrew/lib/node_modules/ai-commit/node_modules/@ljharb/through/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
at Module._load (node:internal/modules/cjs/loader:901:27)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object.<anonymous> (/opt/homebrew/lib/node_modules/ai-commit/node_modules/@ljharb/through/index.js:4:16)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at cjsLoader (node:internal/modules/esm/translators:284:17) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/opt/homebrew/lib/node_modules/ai-commit/node_modules/@ljharb/through/index.js'
]
}
Node.js v20.8.0
Obs: I tested it on Linux and it works without errors.
The text was updated successfully, but these errors were encountered:
The
npm install -g ai-commit
command did not install the 'call-bind' module. Manual installation requirednpm install -g call-bind
. After installingcall-bind
it works.My config:
Apple M1 - 8 GB - macOS Sonoma - Versão 14.0 (23A344)
Run command
ai-commit
-> exception ->Details
Obs: I tested it on Linux and it works without errors.
The text was updated successfully, but these errors were encountered: