Skip to content

Tutorial: Advanced Angular Micro Frontends with Dynamic Module Federation - Error in command #31410

Closed
@devAnky

Description

@devAnky

In the part Adding functionality it states

We need an Angular Service that we will use to hold state:

and to run the command
nx g @nx/angular:service libs/shared/data-access-user/src/lib/user
This command prompts the error:
Required property 'project' is missing

Copilot said, the command just needs an additional argument --project.
So I guess the correct command would be:
nx g @nx/angular:service libs/shared/data-access-user/src/lib/user --project=data-access-user

I think the tutorial should be corrected.

Metadata

Metadata

Assignees

Labels

priority: lowLow Priority (does not affect many people or not severely or has an easy workaround)scope: angularIssues related to Angular support in Nxtype: docs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions