Summary
Running the FrontMCP create command with --nx fails during Nx workspace scaffolding because the package nx cannot be found.
Reproduction
Command used:
alexmercerpo@alexmercerpo git % npx frontmcp@1.0.0-beta.1 create my-workspace --nx
Actual behavior
The command fails with:
Failed to scaffold Nx workspace: Cannot find package 'nx' imported from /Users/alexmercerpo/.npm/_npx/e89a88f7af22de5f/node_modules/frontmcp/src/commands/scaffold/create.js
Expected behavior
When using --nx, the CLI should successfully scaffold an Nx workspace, or at least install/resolve the required Nx dependency automatically before trying to use it.
Notes
It looks like the create flow assumes nx is already available, but when running through npx frontmcp@1.0.0-beta.1 ..., nx is not present in that execution context.
Possibly related to how create.js imports or resolves nx during scaffolding.
Version