martijnversluis/ChordSheetJS

Contributing: error with yarn test (Windows)

edwinzap opened this issue · 2 comments

After cloning the library, installing node.js and yarn, I tried to execute the yarn test command but I get an error.
I'm using VS Code on Windows. If I execute the command with the powershell terminal I get an error with the yarn build:suffix-normalize wich say that the rm -rf command is not recognised. It's "normal" because I'm on Windows.

Then I tried using the git bash terminal. It's going further (rm -rf command is working) but I still get an error:
bin\generate_chord_suffix_grammar is not recognised as an internal or external command.

Do you have any idea what I should do to make it work? Maybe there is also a fix for Windows users :)

Hey @edwinzap. Thanks for reaching out. I'm currently testing with a Windows build. Yarn build succeeds, only 7 failing tests.

Once it completely works I'll give you a headsup! 👍

@edwinzap I finally managed to make test and build work on Windows. If you pull the latest master branch, everything should be working correctly 👍

Please let me know if this solves your issue.