Closed kpaxton closed 10 months ago
I would recommend setting NX_PREFER_TS_NODE=true
in your environment variables, we will likely move towards that being the default in the future. This could otherwise likely be fixed up by playing with your installed versions of @swc-node/register and @swc/core, to match up with: https://github.com/nrwl/nx/blob/master/packages/js/src/utils/versions.ts
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
built a custom generator for my workspace that generates multiple libs, components, state, etc... It was working fine until we updated to nx 17.0.2.
Any time I try to run the generator it now complains:
The references in my files are just the import statements.
Expected Behavior
workspace generator executes without error
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
8.19.4
Operating System
Additional Information
I've tried digging into the referenced files in the error output but I don't see any reference to the module listed in the error.