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
Not sure if the issue lies here or with node/npm though. Maybe the handling of quotes or process.argv changed between the standalone npx and npm exec which is used under the hood in v7+?
EDIT:
Thinking that might be the case. Directly running husky with node works fine:
Not sure if the issue lies here or with node/npm though. Maybe the handling of quotes or process.argv changed between the standalone npx and npm exec which is used under the hood in v7+?
EDIT:
Thinking that might be the case. Directly running husky with node works fine:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
xorbis commentedon May 21, 2021
At the prompt, this works.
rifftual commentedon Jun 1, 2021
Workaround doesn't work on Windows 10 (PowerShell) with Husky v. 6.0.0
lkjimy commentedon Jun 2, 2021
Same issue
node: 12.22.1
npm: 6.14.12
husky: ^6.0.0
Powershell
Command Prompt
WSL Ubuntu
node: 10.15.3
npm: 6.4.1
nearzeno commentedon Jun 10, 2021
the husky/lib/bin.js was wrong?
nathonius commentedon Jun 12, 2021
Seeing the same on windows 10. Using a newer version of node/npm fixes it. But I can't rely on all end users having a non LTS version of node.
With node v14.17.0, npm v6.14.13
With node v16.1.0, npm v7.11.2
Not sure if the issue lies here or with node/npm though. Maybe the handling of quotes or
process.argv
changed between the standalone npx andnpm exec
which is used under the hood in v7+?EDIT:
Thinking that might be the case. Directly running husky with node works fine:
arsize commentedon Jun 16, 2021
it's works for me
typicode commentedon Jul 2, 2021
I'd say it's related to
npm
.There's not much that can be down on husky's side unfortunately. Hope it gets solved soon (if it hasn't already with most recent versions)
stale commentedon Aug 31, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.