stack icon indicating copy to clipboard operation
stack copied to clipboard

Only able to run nxpm-stack lint through NPX

Open ajsaraujo opened this issue 3 years ago • 1 comments

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?

ajsaraujo avatar Jun 10 '21 11:06 ajsaraujo

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

ruslanguns avatar Dec 02 '21 12:12 ruslanguns