`npm test` fails to run on Windows (`test/run.sh` is not executed)
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 194
- Avg merge
- 22h 43m
- Merged PRs (30d)
- 10
Description
This is due to the particulars on Windows where the usual install of git-on-windows has a bash shell, but this is not the default command shell (for obvious reasons as then quite a lot of other unrelated things would fail), so any `npm` *script task* which executes a UNIX shell script should do this by invoking `bash -c ` instead of just invoking ``.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with test/run.sh and the npm test script that invokes it; reproduce npm test on Windows and check how the shell script is launched. Done means npm test runs successfully on Windows by invoking test/run.sh through bash, with the relevant test command passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100