@nrwl/workspace:move schematics yields error: 'This should never happen.' 🤪
See original GitHub issueExpected Behavior
The command below either executes as expected, or yields a proper error message that it can’t do what I ask it to.
$ nx g @nrwl/workspace:move --projectName web-layout --destination web/layout/console
Current Behavior
It fails, telling me that that should never happen. This message makes me feel both special and clumsy 😉
$ nx g @nrwl/workspace:move --projectName web-layout --destination web/layout/console
This should never happen. Path: "/libs/web/layout".
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
yarn create nx-workspace my-app
cd my-app
yarn add -D @nrwl/angular
nx g @nrwl/angular:lib layout --directory web
nx g @nrwl/workspace:move --projectName web-layout --destination web/layout/console
Other
The workaround is to do the move in 2 steps:
$ nx g @nrwl/workspace:move --projectName web-layout --destination web/layout-console
$ nx g @nrwl/workspace:move --projectName web-layout-console --destination web/layout/console
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Resolving Schematic Errors | Learn Altium Designer
This error is due to the use of an outdated component in your project. It usually happens when the schematic was developed some...
Read more >typescript - Angular schematics error when using external ...
When i execute the command i get the error. Data path "" must have required property 'version'. So i have to add --version="x"...
Read more >Error Checking Schematics - Technical Articles
The foundation of an error-free schematic is accurate symbols. ... The first type of “No Connect” are pins which should never be connected....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think it would be great if this could be addressed at some point. Not urgent, be definitely a nice addition 😃
This issue has been automatically marked as stale because it hasn’t had any recent activity. It will be closed in 14 days if no further activity occurs. If we missed this issue please reply to keep it active. Thanks for being a part of the Nx community! 🙏