Closed shaharkazaz closed 3 years ago
Hi @shaharkazaz I'm facing the same issue is there any workaround for this?
@elicul Unfortunately, I don't have one.
Hey guys. Thanks for bringing this to my attention. Do you have a repo I can use to try to reproduce? Even a basic repo created that can reproduce the same issue. Thanks!
@etkachev Didn't do anything special, created a fresh react project via the nx cli, tried running the command and it crashed.
@etkachev I'm working on a private repo so I can't share this code but I'll create a fresh project and try it there.
@etkachev here is the reproduction repo link, it's a nx workspace with an angular app. I'm using the latest webstorm and nx-webstorm plugin.
I have the same problem Webstorm - 2021.2.3 Angular - 12.2.12 nx - 13.1.2
A workaround for me is to use a similar plugin for VSCode to generate the component like in Webstorm
Yup I believe this has to do with the recent Nx 13 upgrade. Since all the nx.json does not have projects
in there anymore. All projects
are now declared in the workspace.json
or angular.json
. I will have a fix for this shortly.
Thank you @etkachev. If you need any help in testing/helping just ping me.
Can you guys give this a try? You will have to manually install the plugin. Let me know. Thanks!
@etkachev Great, it works! Thanks 👍 (Angular Project)
@etkachev works great! Thank you!
Awesome. I published the fix to jetbrains. Might be a few days before they approve it and release it to marketplace.
latest 0.9.1 is available for update. Let me know if there is anything else that comes up. Thanks!
@etkachev This works, but only if I'm working with per-project configuration.
I think you should still support getting the values from the angular.json
Thanks for the fix 🙂
@shaharkazaz are you referring to when your project is setup with the project.json
files? That it doesn't work? Like mentioned here in the docs
@etkachev It was a bug on my end, the project I was trying to execute the commands on wasn't listed correctly. sorry for the noise 🙂
Current Behavior
Can't run the command.
How to Reproduce
Try and run the command via the plugin
Envirounment:
Node : 12.20.0 OS : darwin x64 (MacOS Big Sur) Webstorm: 2021.2.3 npm : 7.24.1
nx : 13.0.2 @nrwl/angular : Not Found @nrwl/cli : 13.0.2 @nrwl/cypress : 13.0.2 @nrwl/devkit : 13.0.2 @nrwl/eslint-plugin-nx : 13.0.2 @nrwl/express : Not Found @nrwl/jest : 13.0.2 @nrwl/linter : 13.0.2 @nrwl/nest : Not Found @nrwl/next : Not Found @nrwl/node : Not Found @nrwl/nx-cloud : Not Found @nrwl/react : 13.0.2 @nrwl/schematics : Not Found @nrwl/tao : 13.0.2 @nrwl/web : 13.0.2 @nrwl/workspace : 13.0.2 @nrwl/storybook : 13.0.2 @nrwl/gatsby : Not Found typescript : 4.3.5
Additional context
The error stack: