nx-console-idea-plugin icon indicating copy to clipboard operation
nx-console-idea-plugin copied to clipboard

Can't run tasks from the UI

Open thSoft opened this issue 3 years ago • 2 comments

Describe the bug: Can't run any task from the Nx tool window or Nx run/debug configurations

Versions:

  • NX Console Idea: 0.55.0
  • NX: 15.7.2
  • Node: v16.13.0

Steps to reproduce:

  • Generate a monorepo with npx create-nx-workspace@latest --preset=react-monorepo --bundler=vite --packageManager=pnpm
  • Open the generated monorepo with WebStorm
  • Open the Nx tool window and run one of the tasks
  • Nothing happens

Expected behavior:

  • The task is run

Additional context:

  • If I edit the run/debug configuration created when trying to run the task, the Package nx-cli field is empty, and no matter what I select, still nothing happens when running the configuration, and the field will be empty again when I close and reopen the Run/Debug Configurations dialog
  • Running the task with the Nx CLI succeeds (e.g. nx run frontend:serve)

thSoft avatar Feb 24 '23 21:02 thSoft

Hello, Yes it's a known issue, please try Installing @nrwl/cli in your project as devDependencies Should solve the issue until I ship a fix.

iguissouma avatar Feb 25 '23 09:02 iguissouma

Thanks for the workaround, it works! Looking forward to the bugfix release! :)

thSoft avatar Feb 27 '23 10:02 thSoft