-
Notifications
You must be signed in to change notification settings - Fork 215
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: 'No options' displayed when using generators #2392
Comments
Huh, that's weird. It looks like the request goes through without erroring, but still this happens. |
1.35.1 |
Okay that's good. Does the same happen in other repositories? Or just in this one? |
I have tried 3 other repos, each with a different version of NX installed, but they all have the same problem. My colleague is having the same problems on his PC with a fairly similar setup. |
This is weird, I can't repro it on my windows machine. Could you provide a minimal reproduction where it's broken for you? Then I can clone it and try there. |
I just create a new NX project with
|
I did exactly that and it still works... Can you post a repo where it's broken to github so I can clone it and have a look? Maybe something is subtly different. |
Sure, here you go: https://github.com/scomans/nx-console-test-repo |
I am experiencing the exact same issue. When using any generator in WebStorm, the interface only displays the message "No options," and the options related to the selected generator do not appear. This problem is affecting my workflow, and I hope a solution can be found. |
Maybe we can narrow it down even more. In the same project in vscode, does the same happen? I'm trying to differentiate between an issue in your node/nx/local setup and an issue in your webstorm/intellij setup |
Hello @MaxKless, i have the same issue as well. For me it is only broken in Webstorm but works as expected in vs code. If you need any other information let me know! |
If any of you could also post an |
Does this help: |
No it would be a bit further above where the options are being requested from the nxls. Maybe you'll have to enable trace logs. |
Is this helpful? 2025-02-11 15:14:02,462 [169035063] INFO - #dev.nx.console.generate.ui.file.V2NxGenerateUiFile - received message GenerateUiFormInitOutputMessage(payloadType=output-init) |
It's crazy that there are just no options at all. Here is a locally built version that adds a bunch more logs to the generator options request. If you install it locally and send me the logs again when you see this issue, maybe it will tell us more :) C Instructions for installing: |
hmmm interesting, the options request doesn't look like it's called at all for you. Here's a version with an attempted fix and different logging, can you try it out @scomans ? |
It still doesn't show any options 😕 |
Exactly the same issue. It shows |
Also. I recently reinstalled the OS. Tried both on my home PC and on my work PC. Reproduction steps: Personally, I have the default WebStorm settings |
I have same problem too |
Hey! I was able to repro with node 22, that was the missing piece. I'm investigating today and hope I'll have a fix asap. Thanks for the reports, everyone!! |
Hey everyone! This fixed it on my machine. Can any of you install it locally and try it out? |
After installing the mentioned zip file, I confirm that the options are returning when using Node.js v22. |
Current Behavior
When attempting to use any generator using the interface, WebStorm will only display "No options".
Expected Behavior
The nx generate UI should display the appropriate list of options for the selected generator.
Failure Logs / Images / Videos
daemon.log
idea.log
Environment
The text was updated successfully, but these errors were encountered: