Gaunt Sloth Assistant
    Preparing search index...

    Installation

    Install dev version globally

    git clone https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant.git
    npm install
    npm install -g ./

    Unit tests are implemented with Vitest.

    Running unit tests:

    npm run test
    

    If you first installed deps on Windows and then running tests on WSL or vice versa you're likely to experience an error like

    Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to optional dependencies 
    

    or

    'tsc' is not recognized as an internal or external command, operable program or batch file.
    

    Simply install that missing optional rollup dependency or TypeScript without saving it, like that:

    npm install @rollup/rollup-linux-x64-gnu --no-save

    or

    npm install typescript --no-save

    This will allow switching between environments and run tests in both.