Nx: NPM 5.0 required even if using yarn?

Created on 23 Jan 2018  路  1Comment  路  Source: nrwl/nx

From the getting started guide: https://nrwl.io/nx/guide-getting-started

npm install -g @nrwl/schematics

or

yarn global add @nrwl/schematics

This makes the create-nx-workspace binary available at the terminal. So from anywhere on your local machine you can run the following to create a new Nx workspace:

create-nx-workspace myworkspace

When I run create-nx-workspace myworkspace I end up with:

To create a workspace you must have NPM >= 5.0.0 installed.

But I don't care about npm as I'm using yarn.

bug

Most helpful comment

Pass the --yarn flag (create-nx-workspace myworkspace --yarn), and everything should work without npm.

>All comments

Pass the --yarn flag (create-nx-workspace myworkspace --yarn), and everything should work without npm.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ZempTime picture ZempTime  路  3Comments

markphip picture markphip  路  3Comments

dereklin picture dereklin  路  3Comments

SWGeekPD picture SWGeekPD  路  3Comments

IonFoXx picture IonFoXx  路  3Comments