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

Terminal Popup with new webstorm version

Open StevenSchoening opened this issue 1 year ago • 4 comments
trafficstars

Current Behavior

With the new webstorm version i always get a popup from a terminal which closes really fast. When i deactivate the nx console it it works fine.

Expected Behavior

i expect that i can use the nx console without any popup terminals opening and closing.

Steps to Reproduce

it happened for me and a coworker in this way: we have the new webstorm version installed and the nx console and while working, saving a file the popup terminal opened and closed instantly.

Failure Logs / Images / Videos

Environment

Webstorm: 2024.2.0.1 Nx console: 1.30.0

StevenSchoening avatar Aug 28 '24 09:08 StevenSchoening

Hey! This is probably to do with the underlying nx version. Can you please post your nx report so we can make sure this is fixed?

MaxKless avatar Aug 28 '24 10:08 MaxKless

I have the same issue. My nx report:

NX   Report complete - copy this into the issue template

Node           : 22.3.0
OS             : win32-x64
Native Target  : x86_64-windows
npm            : 10.8.1

nx (global)        : 19.6.4
nx                 : 19.6.4
@nx/js             : 19.6.4
@nx/linter         : 19.6.4
@nx/eslint         : 19.6.4
@nx/workspace      : 19.6.4
@nx/cypress        : 19.6.4
@nx/devkit         : 19.6.4
@nx/esbuild        : 19.6.4
@nx/eslint-plugin  : 19.6.4
@nx/playwright     : 19.6.4
@nx/storybook      : 19.6.4
@nrwl/tao          : 19.6.4
@nx/vite           : 19.6.4
@nx/vue            : 19.6.4
@nx/web            : 19.6.4
@nx/webpack        : 19.6.4
typescript         : 5.5.4
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
@nx/vite/plugin
@nx/playwright/plugin
@nx/storybook/plugin

ghost23 avatar Sep 02 '24 06:09 ghost23

Hey! I've seen these before but I'm really struggling to reproduce the issue on my windows machine. Could you provide a reproduction repo that I can clone and see the issue myself? It must be some specific combination of plugins or the like that's causing this. Usually these popups don't come from Nx Console but from the underlying nx version itself.

I'd love to fix this ASAP but it's hard if I don't see the error myself.

MaxKless avatar Sep 19 '24 13:09 MaxKless

Hi @MaxKless , I am not sure I understand your request. How would I provide a repo with the webstorm plugins that I use?

ghost23 avatar Sep 20 '24 07:09 ghost23

Hey :) Can you try this again on the newly-released nx 19.8.1? The issue should be gone!

MaxKless avatar Sep 25 '24 19:09 MaxKless

Hi, I have updated to the latest, 19.8.2. The issue is still there. It happens especially when I open a project.json or nx.json or package.json file. And if I run a target command via the nx console.

During normal coding it rarely happens.

ghost23 avatar Sep 26 '24 08:09 ghost23

Did you run nx reset, kill the daemon and restart the extension after updating? Are you on the latest nx console version?

MaxKless avatar Sep 26 '24 10:09 MaxKless

No, I did not. Yes, I am on the latest nx console version.

I will test again.

ghost23 avatar Sep 26 '24 11:09 ghost23

OK, I have tested now for a while. So it definitely happens less often now. It still happens at least once when I start the IDE, but I guess that is OK. So for me, this is fine now, definitely not as annoying as it used to be. Thank you.

ghost23 avatar Oct 08 '24 07:10 ghost23

Still seing them here and then

mklueh avatar Apr 11 '25 02:04 mklueh

This happens in a new project with nx 22.

Nosfistis avatar Nov 07 '25 15:11 Nosfistis