You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: