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

npm script errors when called from gitbash #100

Open
JacobKnaack opened this issue Feb 28, 2024 · 0 comments
Open

npm script errors when called from gitbash #100

JacobKnaack opened this issue Feb 28, 2024 · 0 comments
Labels
P0 Top priority issue, must be addressed before the next cohort

Comments

@JacobKnaack
Copy link
Contributor

JacobKnaack commented Feb 28, 2024

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.

@JacobKnaack JacobKnaack added the P0 Top priority issue, must be addressed before the next cohort label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 Top priority issue, must be addressed before the next cohort
Projects
None yet
Development

No branches or pull requests

1 participant