nrwl / add-nx

22 stars 8 forks source link

doesn't work with yarn 2 , can not find nx command. #27

Closed awidjaja closed 3 years ago

awidjaja commented 3 years ago

the cli was installed using npm (npm install -g nx), but nx module can't be found inside the project folder and still doesn't work even after i run another yarn install.

NX ERROR Could not find Nx modules in this workspace.

Have you run npm/yarn install?

awidjaja commented 3 years ago

i am able to add workspace using yarn create nx-workspace --preset=npm.