nx-console-idea-plugin
nx-console-idea-plugin copied to clipboard
Run/debug window doesn't open.
Describe the bug: When trying to run nothing seems to happen. No rund/debug window is opened and I don't see any activity/errors.
Steps to reproduce: Unclear. I haven't been able to get the plugin to work with any config.
Expected behavior:
Run/debug window should open and the following command should run:
pnpm nx run echo-db:build
Additional context:
Webstorm: 2022.2.3
Plugin: 0.50.0
Config below.
Note: I can select the nx-cli
from the popup, but this doesn't stick after closing the window.

Sorry for late reply, didn't see a notification for this issue. I have similar configuration and it's working as expected.
the nx cli package is not very important for running the confgiuration.

Can you try the npm run configuration and see if it's working for you? please attach screenshot.

hi @iguissouma, i'm not using Angular. I"m not sure if that's required by your plugin?
Attached a screen shot running the command manually from the terminal. When running the

In your project do you have node modules folder?
Please try to install nx globally and see if it works for you.
npm install -g nx
@iguissouma I've the same problem unfortunately. I'm using nx package-based and pnpm instead of npm. Nx is installed globally as you suggested
@khaelys can you share some screenshots of your project structure and created run configuration? switching to npm on run configuration works for you?
I'm also having this issue, attempting to debug, but I'm not seeing anything obvious.
➜ pnpm nx report
> NX Report complete - copy this into the issue template
Node : 16.18.0
OS : darwin arm64
pnpm : 7.26.2
nx : 15.6.3
@nrwl/angular : Not Found
@nrwl/cypress : Not Found
@nrwl/detox : Not Found
@nrwl/devkit : 15.6.3
@nrwl/esbuild : 15.6.3
@nrwl/eslint-plugin-nx : 15.6.3
@nrwl/expo : Not Found
@nrwl/express : Not Found
@nrwl/jest : 15.6.3
@nrwl/js : 15.6.3
@nrwl/linter : 15.6.3
@nrwl/nest : 15.6.3
@nrwl/next : Not Found
@nrwl/node : 15.6.3
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : Not Found
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/rollup : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : Not Found
@nrwl/web : Not Found
@nrwl/webpack : 15.6.3
@nrwl/workspace : 15.6.3
@nrwl/vite : Not Found
typescript : 4.9.5
---------------------------------------
Local workspace plugins:
---------------------------------------
Community plugins:
@nxlv/python: 15.3.0
I figured it out. I needed to add "@nrwl/cli"
to my devDependencies main package.json. @richburdon @khaelys
Installing @nrwl/cli
in the project solved the issue for me too.
I will try to fix this so no need to add this package as devDependencies