Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find configuration for task @nx/nx-source:test #23124

Closed
1 of 4 tasks
gnuion opened this issue May 1, 2024 · 3 comments
Closed
1 of 4 tasks

Cannot find configuration for task @nx/nx-source:test #23124

gnuion opened this issue May 1, 2024 · 3 comments

Comments

@gnuion
Copy link

gnuion commented May 1, 2024

Current Behavior

When I try to run tests locally using pnpm test I get the error

Cannot find configuration for task @nx/nx-source:test

Expected Behavior

Tests to run.

GitHub Repo

https://github.com/nrwl/nx

Steps to Reproduce

  1. pnpm install
  2. pnpm build
  3. pnpm test

Nx Report

Node   : 20.11.1
OS     : darwin-arm64
pnpm   : 8.15.7

nx                 : 19.0.0-beta.8
@nx/js             : 0.0.1
@nrwl/js           : 19.0.0-beta.8
@nx/jest           : 0.0.1
@nrwl/jest         : 19.0.0-beta.8
@nx/linter         : 19.0.0-beta.8
@nx/eslint         : 0.0.1
@nx/workspace      : 0.0.1
@nrwl/workspace    : 19.0.0-beta.8
@nx/angular        : 0.0.1
@nrwl/angular      : 19.0.0-beta.8
@nx/cypress        : 0.0.1
@nrwl/cypress      : 19.0.0-beta.8
@nx/detox          : 0.0.1
@nx/devkit         : 0.0.1
@nrwl/devkit       : 19.0.0-beta.8
@nx/esbuild        : 19.0.0-beta.8
@nx/eslint-plugin  : 19.0.0-beta.8
@nx/expo           : 0.0.1
@nx/express        : 0.0.1
@nx/gradle         : 0.0.1
@nx/nest           : 0.0.1
@nx/next           : 0.0.1
@nrwl/next         : 19.0.0-beta.8
@nx/node           : 0.0.1
@nx/nuxt           : 0.0.1
@nx/playwright     : 19.0.0-beta.8
@nx/plugin         : 0.0.1
@nx/react          : 0.0.1
@nrwl/react        : 19.0.0-beta.8
@nx/react-native   : 0.0.1
@nx/rollup         : 0.0.1
@nx/remix          : 0.0.1
@nx/storybook      : 0.0.1
@nrwl/storybook    : 19.0.0-beta.8
@nrwl/tao          : 0.0.1
@nx/vite           : 0.0.1
@nrwl/vite         : 19.0.0-beta.8
@nx/vue            : 0.0.1
@nx/web            : 0.0.1
@nrwl/web          : 19.0.0-beta.8
@nx/webpack        : 0.0.1
@nrwl/webpack      : 19.0.0-beta.8
typescript         : 5.4.2
---------------------------------------
Registered Plugins:
@monodon/rust
@nx/playwright/plugin
@nx/eslint/plugin
@nx/jest/plugin
@nx/webpack/plugin
@nx/jest/plugin
@nx/jest/plugin
---------------------------------------
Community plugins:
@monodon/rust      : 1.3.3
@ngrx/effects      : 17.0.1
@ngrx/router-store : 17.0.1
@ngrx/store        : 17.0.1
---------------------------------------
Local workspace plugins:
         @nx/linter
         @nrwl/storybook
         @nrwl/workspace
         @nrwl/angular
         @nrwl/cypress
         @nrwl/esbuild
         @nrwl/webpack
         @nx/workspace-plugin
         @nrwl/react
         @nx/react-native
         @nrwl/jest
         @nrwl/next
         @nrwl/vite
         @nx/playwright
         @nrwl/web
         @nrwl/js
         @nx/storybook
         @nx/workspace
         @nx/angular
         @nx/cypress
         @nx/esbuild
         @nx/express
         @nx/webpack
         @nx/eslint
         @nx/gradle
         @nx/plugin
         @nx/rollup
         @nx/detox
         @nx/react
         @nx/remix
         @nx/expo
         @nx/jest
         @nx/nest
         @nx/next
         @nx/node
         @nx/nuxt
         @nx/vite
         @nx/vue
         @nx/web
         @nx/js
         nx
---------------------------------------
The following packages should match the installed version of nx
  - @nx/js@0.0.1
  - @nx/jest@0.0.1
  - @nx/eslint@0.0.1
  - @nx/workspace@0.0.1
  - @nx/angular@0.0.1
  - @nx/cypress@0.0.1
  - @nx/detox@0.0.1
  - @nx/devkit@0.0.1
  - @nx/expo@0.0.1
  - @nx/express@0.0.1
  - @nx/gradle@0.0.1
  - @nx/nest@0.0.1
  - @nx/next@0.0.1
  - @nx/node@0.0.1
  - @nx/nuxt@0.0.1
  - @nx/plugin@0.0.1
  - @nx/react@0.0.1
  - @nx/react-native@0.0.1
  - @nx/rollup@0.0.1
  - @nx/remix@0.0.1
  - @nx/storybook@0.0.1
  - @nrwl/tao@0.0.1
  - @nx/vite@0.0.1
  - @nx/vue@0.0.1
  - @nx/web@0.0.1
  - @nx/webpack@0.0.1

To fix this, run `nx migrate nx@19.0.0-beta.8`

Failure Logs

> nx test


 NX   Cannot find configuration for task @nx/nx-source:test

Pass --verbose to see the stacktrace.

 ELIFECYCLE  Test failed. See above for more details.

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@MANAALHARBI
Copy link

MANAALHARBI commented May 2, 2024

Current Behavior

When I try to run tests locally using pnpm test I get the error


Cannot find configuration for task @nx/nx-source:test

Expected Behavior

Tests to run.

GitHub Repo

https://github.com/nrwl/nx

Steps to Reproduce

  1. pnpm install

  2. pnpm build

  3. pnpm test

Nx Report

Node   : 20.11.1

OS     : darwin-arm64

pnpm   : 8.15.7



nx                 : 19.0.0-beta.8

@nx/js             : 0.0.1

@nrwl/js           : 19.0.0-beta.8

@nx/jest           : 0.0.1

@nrwl/jest         : 19.0.0-beta.8

@nx/linter         : 19.0.0-beta.8

@nx/eslint         : 0.0.1

@nx/workspace      : 0.0.1

@nrwl/workspace    : 19.0.0-beta.8

@nx/angular        : 0.0.1

@nrwl/angular      : 19.0.0-beta.8

@nx/cypress        : 0.0.1

@nrwl/cypress      : 19.0.0-beta.8

@nx/detox          : 0.0.1

@nx/devkit         : 0.0.1

@nrwl/devkit       : 19.0.0-beta.8

@nx/esbuild        : 19.0.0-beta.8

@nx/eslint-plugin  : 19.0.0-beta.8

@nx/expo           : 0.0.1

@nx/express        : 0.0.1

@nx/gradle         : 0.0.1

@nx/nest           : 0.0.1

@nx/next           : 0.0.1

@nrwl/next         : 19.0.0-beta.8

@nx/node           : 0.0.1

@nx/nuxt           : 0.0.1

@nx/playwright     : 19.0.0-beta.8

@nx/plugin         : 0.0.1

@nx/react          : 0.0.1

@nrwl/react        : 19.0.0-beta.8

@nx/react-native   : 0.0.1

@nx/rollup         : 0.0.1

@nx/remix          : 0.0.1

@nx/storybook      : 0.0.1

@nrwl/storybook    : 19.0.0-beta.8

@nrwl/tao          : 0.0.1

@nx/vite           : 0.0.1

@nrwl/vite         : 19.0.0-beta.8

@nx/vue            : 0.0.1

@nx/web            : 0.0.1

@nrwl/web          : 19.0.0-beta.8

@nx/webpack        : 0.0.1

@nrwl/webpack      : 19.0.0-beta.8

typescript         : 5.4.2

---------------------------------------

Registered Plugins:

@monodon/rust

@nx/playwright/plugin

@nx/eslint/plugin

@nx/jest/plugin

@nx/webpack/plugin

@nx/jest/plugin

@nx/jest/plugin

---------------------------------------

Community plugins:

@monodon/rust      : 1.3.3

@ngrx/effects      : 17.0.1

@ngrx/router-store : 17.0.1

@ngrx/store        : 17.0.1

---------------------------------------

Local workspace plugins:

         @nx/linter

         @nrwl/storybook

         @nrwl/workspace

         @nrwl/angular

         @nrwl/cypress

         @nrwl/esbuild

         @nrwl/webpack

         @nx/workspace-plugin

         @nrwl/react

         @nx/react-native

         @nrwl/jest

         @nrwl/next

         @nrwl/vite

         @nx/playwright

         @nrwl/web

         @nrwl/js

         @nx/storybook

         @nx/workspace

         @nx/angular

         @nx/cypress

         @nx/esbuild

         @nx/express

         @nx/webpack

         @nx/eslint

         @nx/gradle

         @nx/plugin

         @nx/rollup

         @nx/detox

         @nx/react

         @nx/remix

         @nx/expo

         @nx/jest

         @nx/nest

         @nx/next

         @nx/node

         @nx/nuxt

         @nx/vite

         @nx/vue

         @nx/web

         @nx/js

         nx

---------------------------------------

The following packages should match the installed version of nx

  - @nx/js@0.0.1

  - @nx/jest@0.0.1

  - @nx/eslint@0.0.1

  - @nx/workspace@0.0.1

  - @nx/angular@0.0.1

  - @nx/cypress@0.0.1

  - @nx/detox@0.0.1

  - @nx/devkit@0.0.1

  - @nx/expo@0.0.1

  - @nx/express@0.0.1

  - @nx/gradle@0.0.1

  - @nx/nest@0.0.1

  - @nx/next@0.0.1

  - @nx/node@0.0.1

  - @nx/nuxt@0.0.1

  - @nx/plugin@0.0.1

  - @nx/react@0.0.1

  - @nx/react-native@0.0.1

  - @nx/rollup@0.0.1

  - @nx/remix@0.0.1

  - @nx/storybook@0.0.1

  - @nrwl/tao@0.0.1

  - @nx/vite@0.0.1

  - @nx/vue@0.0.1

  - @nx/web@0.0.1

  - @nx/webpack@0.0.1



To fix this, run `nx migrate nx@19.0.0-beta.8`

Failure Logs

> nx test





 NX   Cannot find configuration for task @nx/nx-source:test



Pass --verbose to see the stacktrace.



 ELIFECYCLE  Test failed. See above for more details.

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

1 similar comment
@MANAALHARBI
Copy link

Current Behavior

When I try to run tests locally using pnpm test I get the error


Cannot find configuration for task @nx/nx-source:test

Expected Behavior

Tests to run.

GitHub Repo

https://github.com/nrwl/nx

Steps to Reproduce

  1. pnpm install

  2. pnpm build

  3. pnpm test

Nx Report

Node   : 20.11.1

OS     : darwin-arm64

pnpm   : 8.15.7



nx                 : 19.0.0-beta.8

@nx/js             : 0.0.1

@nrwl/js           : 19.0.0-beta.8

@nx/jest           : 0.0.1

@nrwl/jest         : 19.0.0-beta.8

@nx/linter         : 19.0.0-beta.8

@nx/eslint         : 0.0.1

@nx/workspace      : 0.0.1

@nrwl/workspace    : 19.0.0-beta.8

@nx/angular        : 0.0.1

@nrwl/angular      : 19.0.0-beta.8

@nx/cypress        : 0.0.1

@nrwl/cypress      : 19.0.0-beta.8

@nx/detox          : 0.0.1

@nx/devkit         : 0.0.1

@nrwl/devkit       : 19.0.0-beta.8

@nx/esbuild        : 19.0.0-beta.8

@nx/eslint-plugin  : 19.0.0-beta.8

@nx/expo           : 0.0.1

@nx/express        : 0.0.1

@nx/gradle         : 0.0.1

@nx/nest           : 0.0.1

@nx/next           : 0.0.1

@nrwl/next         : 19.0.0-beta.8

@nx/node           : 0.0.1

@nx/nuxt           : 0.0.1

@nx/playwright     : 19.0.0-beta.8

@nx/plugin         : 0.0.1

@nx/react          : 0.0.1

@nrwl/react        : 19.0.0-beta.8

@nx/react-native   : 0.0.1

@nx/rollup         : 0.0.1

@nx/remix          : 0.0.1

@nx/storybook      : 0.0.1

@nrwl/storybook    : 19.0.0-beta.8

@nrwl/tao          : 0.0.1

@nx/vite           : 0.0.1

@nrwl/vite         : 19.0.0-beta.8

@nx/vue            : 0.0.1

@nx/web            : 0.0.1

@nrwl/web          : 19.0.0-beta.8

@nx/webpack        : 0.0.1

@nrwl/webpack      : 19.0.0-beta.8

typescript         : 5.4.2

---------------------------------------

Registered Plugins:

@monodon/rust

@nx/playwright/plugin

@nx/eslint/plugin

@nx/jest/plugin

@nx/webpack/plugin

@nx/jest/plugin

@nx/jest/plugin

---------------------------------------

Community plugins:

@monodon/rust      : 1.3.3

@ngrx/effects      : 17.0.1

@ngrx/router-store : 17.0.1

@ngrx/store        : 17.0.1

---------------------------------------

Local workspace plugins:

         @nx/linter

         @nrwl/storybook

         @nrwl/workspace

         @nrwl/angular

         @nrwl/cypress

         @nrwl/esbuild

         @nrwl/webpack

         @nx/workspace-plugin

         @nrwl/react

         @nx/react-native

         @nrwl/jest

         @nrwl/next

         @nrwl/vite

         @nx/playwright

         @nrwl/web

         @nrwl/js

         @nx/storybook

         @nx/workspace

         @nx/angular

         @nx/cypress

         @nx/esbuild

         @nx/express

         @nx/webpack

         @nx/eslint

         @nx/gradle

         @nx/plugin

         @nx/rollup

         @nx/detox

         @nx/react

         @nx/remix

         @nx/expo

         @nx/jest

         @nx/nest

         @nx/next

         @nx/node

         @nx/nuxt

         @nx/vite

         @nx/vue

         @nx/web

         @nx/js

         nx

---------------------------------------

The following packages should match the installed version of nx

  - @nx/js@0.0.1

  - @nx/jest@0.0.1

  - @nx/eslint@0.0.1

  - @nx/workspace@0.0.1

  - @nx/angular@0.0.1

  - @nx/cypress@0.0.1

  - @nx/detox@0.0.1

  - @nx/devkit@0.0.1

  - @nx/expo@0.0.1

  - @nx/express@0.0.1

  - @nx/gradle@0.0.1

  - @nx/nest@0.0.1

  - @nx/next@0.0.1

  - @nx/node@0.0.1

  - @nx/nuxt@0.0.1

  - @nx/plugin@0.0.1

  - @nx/react@0.0.1

  - @nx/react-native@0.0.1

  - @nx/rollup@0.0.1

  - @nx/remix@0.0.1

  - @nx/storybook@0.0.1

  - @nrwl/tao@0.0.1

  - @nx/vite@0.0.1

  - @nx/vue@0.0.1

  - @nx/web@0.0.1

  - @nx/webpack@0.0.1



To fix this, run `nx migrate nx@19.0.0-beta.8`

Failure Logs

> nx test





 NX   Cannot find configuration for task @nx/nx-source:test



Pass --verbose to see the stacktrace.



 ELIFECYCLE  Test failed. See above for more details.

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@AgentEnder
Copy link
Member

I fixed this in #23251, some of the package.json scripts in the nx repo didn't quite make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants