-
Notifications
You must be signed in to change notification settings - Fork 913
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
fix: pnpm commit execution error #4181
Comments
The project has been running for over a year, but recently I opened it and updated the dependencies, but I can't submit it |
Which pnpm version do you use now? |
use pnpm 8.15.4 |
did you resolve this bug, I encountered a similar bug, I bypassed this bug by fallback @commitlint/prompt-cli version to 19.4.1 |
I can only manually enter the git command to submit now |
同样的问题,我也是装了 不更新版本的情况下,我是这样解决的:定位到项目相对路径
修改为以下内容,保存后再运行 pnpm commit import pkg from './lib/index.js';
const { parserPreset, prompt, rules } = pkg;
export { parserPreset, prompt, rules };
export default pkg; 当然最好的方式是先暂时将版本锁定在
|
Steps to Reproduce
ELIFECYCLE Command failed with exit code 1.
Current Behavior
No response
Expected Behavior
Normally, the option to commit lint.config should appear
Affected packages
Possible Solution
No response
Context
No response
commitlint --version
18.6.3
git --version
2.39.3 (Apple Git-145)
node --version
20.10.0
The text was updated successfully, but these errors were encountered: