Open joelkesler opened 8 months ago
Maybe related to #19475
I have a similar issue with using any generator from the @nx/plugin package fails to build due to an improper import in the schema.d.ts for several generators.
they import ProjectNameAndRootFormat
from '@nx/devkit/src/generators/project-name-directory-utils'
which is a file that no longer exists, instead of from '@nx/devkit/src/generators/project-name-and-root-utils'
. I can't use any generators or executers from that package until it's fixed.
This issue has been automatically marked as stale because it hasn't had any activity for 6 months. Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore. If at this point, this is still an issue, please respond with updated information. It will be closed in 21 days if no further activity occurs. Thanks for being a part of the Nx community! 🙏
Current Behavior
Expected Behavior
The generator should run and generate what it expected
Steps to Reproduce
The generator lives in a workspace plugin inside the
tools
folder:Nx Report
Operating System
Additional Information
Generators seems to break often on nx updates.
The ways to use them also changes quite quickly. Most tutorials are well out of date after a year or two. For example, the commands in this helpful article don't work anymore due to breaking changes: https://blog.nrwl.io/using-nx-workspace-generators-to-scaffold-new-blog-posts-8c8162cf857b