Repo: Many dev commands require a global nx command #7987
Labels
repo maintenance
things to do with maintenance of the repo, and not with code/docs
triage
Waiting for team members to take a look
Suggestion
Commands prefixed with
nx
(e.g.nx run ...
) require either something likenpx nx
in front or a globalnx
script, such as fromnpm i -g npm
. If you don't then trying to run them gives an error:Running a search for
": "nx
inpackage.json
files, we get 40 results in 18 files right now.I think we have two likely workarounds:
npm i -g nx
npx
(e.g. instead of `nnxThe text was updated successfully, but these errors were encountered: