Can someone please explain me how to setup nrwl/schematics? I'm trying to follow along a course from frontendmasters and they are using nrwl to generate workspace. When I run the same command on my machine (both windows and linux OS) that command is not found
create-nx-workspace someName
Please help me setup this workspace and understand why am I getting this error message. On windows I know that this usually means (not recognized cmdlet) that the PATH to executable is not defined but I have no idea where the path is supposed to be and I couldn't find the answer.
Any help is truly appreciated. Regards
So far I have tried installing @nrwl/schematics as roo/administrator, reinstaling, rebooting PC, tried the stpes on both Linux and Windows
use npx create-nx-workspace someName
@nrwl/nx - mentioned in the first answer is deprecated. You need to install @nrwl/cli.
npm install -g @nrwl/cli
That will make nx
available on windows path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With