Skip to content

$basedir missing on MINGW / Git Bash & cygwin #35

@coolaj86

Description

@coolaj86

Currently any non-hashbang executable referenced by an npm "bin" will not work on Windows in Git Bash (MINGW) or Cygwin.

This issue is that for "short commands" without a hashbang, $basedir is neglected but, in fact, we still need to have $basedir set in either case.

See https://npm.community/t/globally-installed-package-does-not-execute-in-git-bash-on-windows/9394

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions