nx: create-nx-workspace is not working
create-nx-workspace fails at ng new <app name> --collection=@nrwl/schematics with the message core_1.PriorityQueue is not a constructor
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 18
- Comments: 22 (4 by maintainers)
I had the same issue. After updating to
0.7.0-beta.1, I was able to successfully run thecreate-nx-workspacecommandnpm remove -g @nrwl/schematicsnpm install -g @nrwl/schematics@0.7.0-beta.1Hopefully that work around helps others
I was able to set up the workspace following @jfc37 instructions. Able to create apps and libs.
Issue persists with
@nrwl/schematics@0.7.0-beta.3and@angular/cli@1.6.6It still doesn’t work.
I just start a new workspace with version 7.1.0 and same issue! I guess issue has to be reopen! It is my first attempt to use Nx 😄
I worked by partially rewriting the installed
create-nx-workspacecommand.seems to be a problem that
@angular-devkit/core@0.0.28is referenced in the sunbox.https://github.com/nrwl/nx/blob/master/packages/schematics/bin/create-nx-workspace.ts