npx create-nx-workspace installs Nx 13 packages
See original GitHub issueCurrent Behavior
The following command npx create-nx-workspace --preset=ts
installs Nx 13.10.3
packages
Expected Behavior
With Nx 14.0.5
being the current version, I would expect Nx 14.0.5
packages to be installed.
As a workaround, this command installs Nx 14 packages: npx create-nx-workspace@latest --preset=ts
Steps to Reproduce
The following installs Nx 13 packages: npx create-nx-workspace --preset=ts
Environment
Node : 16.11.1
OS : win32 x64
npm : 8.0.0
nx : 13.10.3
@nrwl/angular : Not Found
@nrwl/cypress : Not Found
@nrwl/detox : Not Found
@nrwl/devkit : 13.10.3
@nrwl/eslint-plugin-nx : Not Found
@nrwl/express : Not Found
@nrwl/jest : 13.10.3
@nrwl/js : 13.10.3
@nrwl/linter : 13.10.3
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : Not Found
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : Not Found
@nrwl/web : Not Found
@nrwl/workspace : 13.10.3
typescript : 4.6.4
rxjs : 6.6.7
---------------------------------------
Community plugins:
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
create-nx-workspace - npm
Start using create-nx-workspace in your project by running `npm i create-nx-workspace`. There are 2 other projects in the npm registry using ...
Read more >create-nx-workspace - CLI command
Install create -nx-workspace globally to invoke the command directly, or use npx create-nx-workspace , yarn create nx-workspace , or pnpx create-nx-workspace ...
Read more >2 - Creating an Nx Workspace - Angular and NgRx - GitBook
Run the below command in a terminal to make a new nx workspace. · Since the new NX workspace has no apps or...
Read more >Nx v14 is out — Here is all you need to know!
A lot happened since we released Nx version 13 back in October 2021. Nx has roughly a ... npx nx generate @nrwl/nx-plugin:plugin --name=workspace-extensions....
Read more >How to setup a nx workspace for plain javascript (Cannot find ...
npx create -nx-workspace@latest # installs 15.2.1 # style: package-based # distributed caching: NO. Install react-package npm install -D ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There isn’t a hard-coded version that you’ll find.
npx create-nx-workspace
downloads and runs the create-nx-workspace package. The version that it downloads, is the version that will get created. Because of npx’s caching mechanisms, it’s possible that this would not automatically be the latest version.I’m going to close this issue out, since it is working as intended. If you run
npx create-nx-workspace@{v}
, its going to create a workspace containingnx@{v}
as intended.@AgentEnder Having
latest
as a suffix worked! But I mentioned that in the description.I searched thru Nx repo expecting to find an outdated hard-coded version variable for Nx packages. Unfortunately unable to find anything. More curious at this point in time as to what change is needed.