-
Notifications
You must be signed in to change notification settings - Fork 214
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
WebStorm Freezes During GIT Merge with NX-Console Plugin Installed #2101
Comments
Thanks for the in-depth bug report! |
That is good to hear, thanks for preparing the fix, looking forward to it! :) |
Hey! I'm not sure why Nx Console is freezing here... |
@MaxKless Thanks for the suggestion, I tried it with nx 19 (sorry that that took so long but due to company restrictions and the big project an update isn't that easy). Unfortunally that didn't help. However, for the update I tried to delete the whole local nx cache (.nx folder in the project). It seems like this helped because after I did that I never faced the issue anymore. That finding would also match with the time when this problem occured the first time, after we migrated to nx 17 where they changed the standard cache to be outside of the node_modules and it got more unstable from month to month. So I would say that probably this is the root of the problem. The size of that folder in our case is worrying big (almost 1 GB) - probably nx should remove cached entries after some time too. Is your plugin using that folder in any kind and gets problems with that folder if it is too big? |
Hey! Thanks for taking the time to investigate here. Can you confirm that after running |
It works but only for some time. The freezed WebStorm appears again after 2 weeks. As written before, WebStorm only freezes in case there is this plugin enabled. |
does running |
Current Behavior
I am experiencing an issue where WebStorm (version 2024.1.1) freezes when attempting to merge certain files if the NX-Console plugin (version 1.21.0) is installed. This problem does not occur in projects with fewer dependencies or when the plugin isn't installed.
Here is a video showing that behaviour (note: it happens when I open the package.json the second time):
This issue happens only for some projects, for example I have another "smaller" project with fewer dependencies in the package.json and there the issue doesn't happen at all.
This issue happens since ~March, but maybe longer. Maybe it is related to an update.
The IDE freezes and gets unresponsive. I have to kill it via the task manager and restart.
Expected Behavior
I can merge the files as usual. There are no problems when opening a package.json / project.json while doing a merge.
Steps to Reproduce
Failure Logs / Images / Videos
IDE.log when this issue happens:
Full log: idea.log
A package.json where this issue happens(without some internal dependencies that this project uses):
package.json
A package.json where I don't have this issue:
package.json
Environment
We are using WebStorm in a Windos 10 enviroment.
WebStorm version 2024.1, NX Console Version 1.21.0.
Regarding my PC enviroment:
The text was updated successfully, but these errors were encountered: