Skip to content
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

cygpath not found on windows with MINGW shell #396

Closed
darcyclarke opened this issue Nov 8, 2019 · 1 comment
Closed

cygpath not found on windows with MINGW shell #396

darcyclarke opened this issue Nov 8, 2019 · 1 comment
Labels
Bug thing that needs fixing platform:windows is Windows-specific

Comments

@darcyclarke
Copy link
Contributor

  Original bug ticket: [https://npm.community/t/9889](https://npm.community/t/9889)
  Originally filed: 2019-09-05T05:51:24.095Z
@darcyclarke darcyclarke added Bug thing that needs fixing Community labels Nov 8, 2019
@sapphi-red
Copy link

This happens also like the environment below.

  • Windows
  • Using GitHub Desktop (GitHub Desktop uses the git command which is included)
  • a npm package which uses git hooks

https://github.com/npm/cmd-shim/blob/92c0a16d3c8a8c53ade76b5eae8efae01dd7f41f/index.js#L155
Changing this line to *CYGWIN*) basedir=cygpath -w "$basedir";;\n' fixed for me.

refs npm/cmd-shim#30

May be this happens when using git bash (which is based on mingw).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing platform:windows is Windows-specific
Projects
None yet
Development

No branches or pull requests

2 participants