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
Undefined workspace while trying to generate nx-electron app. #171
Comments
I also get the same error as above T.T |
Did you try to press Enter without entering any value? |
I did. I tried no value, I just tried again, creating a new |
I just tested this on a Linux machine and got the same error. However, I did some digging online and found this (edit: likely unrelated) issue. I rolled back my version of nx to 13.4.5 and was able to run the command successfully. I haven't tested any more up to just seeing it complete, so don't know which version of nx is the first to have this problem, but wanted to post this reply to help any others experiencing the same problem. |
After doing some more testing, it looks like minor version 10 is when the failure started. NX version My guess (with absolutely no experience with nx or nx-electron) is this pull which removed workspace.json is the culprit. With no workspace.json, the generator for nx-electron cannot find the frontendProject specified. Yep. I just added a simple workspace.json that would have been there from earlier version and the nx-electron generator using version
@bennymeg I'm not familiar enough to know how this should be handled - in nx, nx-electron, or documentation, so I'm going to leave how to proceed to you. |
I see. |
Describe the bug
Error while trying to generate an nx-electron app.
To Reproduce
Steps to reproduce the behavior:
The error
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: