nxpm / stack

🥭 nxpm-stack lets you generate a complete and opinionated full-stack application in a Nx Workspace, ready to extend and deploy!
https://npm.im/@nxpm/stack
MIT License
108 stars 14 forks source link

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

Open ajsaraujo opened 3 years ago

ajsaraujo commented 3 years ago

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 commented 2 years ago

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