I am trying to create a library in Angular using nx g @nrwl/angular:lib shared
but it keep giving me error zsh: command not found: nx
. All I did was before just create a angular project.
I try using this: npm install -g nx
so maybe it install nx
and it works, but I still keep getting the same error.
How can I fix this? I am using Mac. If any questions or information needed please feel free to leave the comment down below.