Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Only able to run nxpm-stack lint through NPX #144

@ajsaraujo

Description

@ajsaraujo

I want add a pre-commit hook to run @nxpm/stack lint on my Nx project. I have installed it as a development dependency.

When I run it through NPX, as in npx nxpm-stack lint, it works just fine.

However, if I try to run it with nxpm-stack lint, it throws "nxpm-stack is not recognized...". I even installed the library globally, but I still get same error.

Do you know how can I fix this, so I don't have to run the script from NPX on every commit, but instead have it installed in my machine?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions