nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.61k stars 2.36k forks source link

nx report shows @nx and @nrwl together #27398

Closed mhp-borisbojic closed 2 months ago

mhp-borisbojic commented 2 months ago

Current Behavior

When doing an nx report, it wells me that e.g. @nrwl/workspace should match my installed version of NX, which is odd:

  1. I don't have specified @nrwl/workspace in my package.json
  2. According to the NX docs, @nrwl/workspace was renamed to @nx/workspace anyway

Expected Behavior

Don't see any reference or report in regards to @nrwl

GitHub Repo

No response

Steps to Reproduce

  1. Use yarn 4.x (berry)
  2. Remove yarn.lock and node_modules
  3. Yarn install
  4. NX report

Nx Report

Node   : 20.15.0
OS     : darwin-arm64
yarn   : 4.4.0

nx (global)        : 19.3.2
nx                 : 19.4.4
@nx/js             : 19.4.4
@nx/jest           : 19.4.4
@nx/linter         : 19.4.4
@nx/eslint         : 19.4.4
@nx/workspace      : 19.4.4
@nrwl/workspace    : 19.3.0
@nx/angular        : 19.4.4
@nx/devkit         : 19.4.4
@nrwl/devkit       : 19.3.0
@nx/eslint-plugin  : 19.4.4
@nx/nest           : 19.4.4
@nx/node           : 19.4.4
@nx/playwright     : 19.4.4
@nrwl/tao          : 19.3.0
@nx/web            : 19.4.4
@nx/webpack        : 19.4.4
typescript         : 5.5.4
---------------------------------------
Community plugins:
@auth0/auth0-angular       : 2.2.3
@ng-bootstrap/ng-bootstrap : 17.0.0
@ngxs/store                : 18.1.1
@nx-extend/terraform       : 6.0.5
ng-mocks                   : 14.13.0
nx-stylelint               : 17.1.5
---------------------------------------
The following packages should match the installed version of nx
  - @nrwl/workspace@19.3.0
  - @nrwl/devkit@19.3.0
  - @nrwl/tao@19.3.0

To fix this, run `nx migrate nx@19.4.4`

Failure Logs

No response

Package Manager Version

yarn 4.0.0

Operating System

Additional Information

No response

FrozenPandaz commented 2 months ago

Those packages are installed as dependencies of their @nx/ counterparts so that we maintain the NPM stats. They should not be misaligned so the warning is informing you of something you should still resolve. So this is still intended behavior.

I believe you found the issue here that @nx-extend/terraform is causing the misalignment. Please reach out to them at https://github.com/TriPSs/nx-extend and see if they can resolve the issue.

github-actions[bot] commented 1 month ago

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.