Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ajsaraujo opened this issue Jun 10, 2021 · 1 comment
Open

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

ajsaraujo opened this issue Jun 10, 2021 · 1 comment

Comments

@ajsaraujo
Copy link

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?

@ruslanguns
Copy link
Contributor

@ajsaraujo maybe is a bit late (sorry about that), do you have any repository where I can reproduce this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants