Skip to content

npm script errors when called from gitbash #100

Open
@JacobKnaack

Description

@JacobKnaack

Gitbash is able to run commands fine when typed directly into the prompt, but when called from npm scripts it outputs errors.

$npm run get-challenge 01

this calls: which bash ./code-challenges/bin/get-challenge.sh
but gitbash ouputs that which is not a command, but works fine when typed into the gitbash prompt directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Top priority issue, must be addressed before the next cohort

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions