Skip to content

Can't find java #18

@marchchad

Description

@marchchad

Just installed this extension on Windows using WSL2 and noticed it wasn't loading. I found the output for the extension and saw these errors logged.

[2023-12-21 18:23:02.696] [INFO]: GitHooks extension is now active!
[2023-12-21 18:23:02.960] [INFO]: hooksPathArray [object Promise],[object Promise],[object Promise],[object Promise],[object Promise],[object Promise],[object Promise]
[2023-12-21 18:23:03.750] [ERROR]: Unable to read or locate hooksDirectory failed with following error : 
 Error: No valid git hook directories found
[2023-12-21 18:23:03.751] [ERROR]: Failed to execute shell command: which java. Error: Error: Command failed: which java

[2023-12-21 18:23:03.751] [WARN]: unable to detect java launguage path

Nowhere in the extension overview does it say java is a dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions