bahmutov / pre-git

Automatically install pre-commit / pre-push hooks in your git repo
168 stars 22 forks source link

Error when trying to commit #83

Open deser opened 8 years ago

deser commented 8 years ago

Error: missing wizard prompter validate-commit-msg { "config": {} } at lazyAssLogic (\node_modules\pre-git\node_modules\lazy-ass\index.js:93:14) at lazyAss (\node_modules\pre-git\node_modules\lazy-ass\index.js:98:28) at Object.pickWizard as wizard at Object. (\node_modules\pre-git\bin\commit-msg.js:11:23) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Function.Module.runMain (module.js:467:10) at startup (node.js:134:18) at node.js:961:3

Settings are the next: "config": { "pre-git": { "commit-msg": "validate-commit-msg", "pre-commit": [ "npm run lint", "npm run testonly" ] } }

pre-git has 3.8.3 version

bahmutov commented 8 years ago

Could you switch from "commit-msg": "validate-commit-msg" to "commit-msg": "simple" ?