← All tasks
javascripttypicode/husky #565Not a task: not reproduced

husky package post install hook fails on windows

envgap__typicode__husky-565

01 / FAILURE SIGNATURE

As reported upstream

npm ERR! husky@3.0.3 postinstall: `opencollective-postinstall || true`
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
2f566815a7257f69d20bbc8e58afe479478b7f78
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

typicode/husky #565 · read the original issue
```

> husky@3.0.3 postinstall C:\Users\jspac001\repos\ProductivityHubUI\node_modules\husky

> opencollective-postinstall || true



'opencollective-postinstall' is not recognized as an internal or external command,

operable program or batch file.

'true' is not recognized as an internal or external command,

operable program or batch file.

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! husky@3.0.3 postinstall: `opencollective-postinstall || true`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the husky@3.0.3 postinstall script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.



```

is what happens on a windows machine.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]