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

Run/debug window doesn't open.

Open richburdon opened this issue 2 years ago • 9 comments

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.

Screen Shot 2022-10-18 at 1 58 45 PM

richburdon avatar Oct 18 '22 17:10 richburdon

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.

Screenshot 2022-10-27 at 13 47 54

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

Screenshot 2022-10-27 at 14 00 14

iguissouma avatar Oct 27 '22 11:10 iguissouma

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

Screen Shot 2022-11-07 at 9 28 00 AM

richburdon avatar Nov 07 '22 14:11 richburdon

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 avatar Nov 09 '22 14:11 iguissouma

@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 avatar Jan 19 '23 14:01 khaelys

@khaelys can you share some screenshots of your project structure and created run configuration? switching to npm on run configuration works for you?

iguissouma avatar Jan 19 '23 15:01 iguissouma

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

wolfie82 avatar Jan 31 '23 18:01 wolfie82

I figured it out. I needed to add "@nrwl/cli" to my devDependencies main package.json. @richburdon @khaelys

wolfie82 avatar Jan 31 '23 18:01 wolfie82

Installing @nrwl/cli in the project solved the issue for me too.

na-ji avatar Feb 07 '23 15:02 na-ji

I will try to fix this so no need to add this package as devDependencies

iguissouma avatar Feb 07 '23 16:02 iguissouma