-
Notifications
You must be signed in to change notification settings - Fork 931
npm excute arg expected "--commitlint" but actualy "--" "commitlint" at yarn v3 PnP. #2990
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
Comments
How did you install husky and commitlint? |
I install husky and commitlint using yarn v1, then migrated to yarn v3. Here is my partial package.json
|
Does this help?: #2637 (comment) |
I tried |
Now this is solved. Before my .husky/commit-msg file.
After yarn v3 can't use npx command. So I modify it.
|
👏 Great you figured it out! |
npm execute arg expected "--commitlint" but actualy "--" "commitlint" at yarn v3 PnP.
Look this npm error log
Current Behavior
Affected packages
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
commitlint --version
git --version
node --version
The text was updated successfully, but these errors were encountered: