Open merlosy opened 2 years ago
For a bit more context, these are related issues from NX repo:
Do you know if this is still an issue with the latest version of Nx and nx-plus?
@ZachJW34 I encountered this in 15.4.4 when importing from the top-level @nrwl/workspace
barrel. Fix was to import from @nrwl/workspace/generators
.
https://github.com/nrwl/nx/issues/4857#issuecomment-1373955308
Current Behavior
Composing
@nx-plus/vue
generators triggers an error when running the generator commandThis seems to be related to the import of
@nrwl/workspace
Expected Behavior
It should work out of the box, or document how to make it work
Suggestions:
@angular-devkit/schematics
?@nrwl/workspace
(prefer@nrwl/devkit
)?Steps to Reproduce
Using a custom schematic/generator and import as follows (condensed extract):
Failure Logs
Environment
Plugin name and version:
Node : 16.16.0 OS : win32 x64 npm : 8.5.5
nx : 13.10.0 @nrwl/angular : Not Found @nrwl/cypress : 13.10.6 @nrwl/detox : Not Found @nrwl/devkit : 13.10.6 @nrwl/eslint-plugin-nx : 13.10.6 @nrwl/express : Not Found @nrwl/jest : 13.10.6 @nrwl/js : 13.10.6 @nrwl/linter : 13.10.6 @nrwl/nest : Not Found @nrwl/next : Not Found @nrwl/node : 13.10.6 @nrwl/nx-cloud : Not Found @nrwl/nx-plugin : Not Found @nrwl/react : Not Found @nrwl/react-native : Not Found @nrwl/schematics : Not Found @nrwl/storybook : Not Found @nrwl/web : 13.10.6 @nrwl/workspace : 13.10.6 typescript : 4.7.4 rxjs : 6.6.7
Community plugins: @nx-plus/vue: 13.0.2