benjamn / benjamn/ast-types

`npm test` fails to run on Windows (`test/run.sh` is not executed)

Open
#267 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.