Skip to content

genhtml: command not found | error: script "test:coverage:report" exited with code 127 #46

@SvenMeyer

Description

@SvenMeyer

system : Arch Linux 6.6.10-1-MANJARO

I ran the coverage report on a fresh instance (no changes) of the template and got this ...

$ bun run test:coverage:report
$ forge coverage --report lcov && genhtml lcov.info --branch-coverage --output-dir coverage
[⠊] Compiling...
[⠔] Compiling 23 files with 0.8.23
[⠑] Solc 0.8.23 finished in 2.38s
Compiler run successful!
Analysing contracts...
Running tests...
Wrote LCOV report.
/usr/bin/bash: line 1: genhtml: command not found
error: script "test:coverage:report" exited with code 127

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: lowEasy or tiny task that takes less than a day.priority: 3Nice-to-have. Willing to ship without this.type: docsChanges to documentation.work: clearSense-categorize-respond. The relationship between cause and effect is clear.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions