Skip to content

Handle new libatomic.so dependency gracefully #3

@theuke

Description

@theuke

The per this GitHub issue latest library upgrades for prettier now make prettier link with libatomic.so. This causes the pre-commit hook to fail to install if that dependency is not already present. Would it be possible to somehow handle this? E.g. maybe by using only released versions of prettier and its libraries?

Note that I also saw that @fisker (prettier tool maintainer) tagged you in this issue as well relating to the libatomic problem.

UPDATE:
I have found, atleast for version rev: v3.5.3 (have not tried other versions), that setting language_version: 18.20.8 fixes the libatomic.so issue. So it seems like the dependency issue happens due to node version used.

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