Skip to content

Commit

Permalink
fix(angular): update component module error message to suggest standa…
Browse files Browse the repository at this point in the history
…lone (#16754)
  • Loading branch information
Coly010 authored May 4, 2023
1 parent 01769bc commit b526e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular/src/generators/component/lib/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ function findModule(
}

throw new Error(
"Could not find a candidate module to add the component to. Please specify which module the component should be added to by using the '--module' option."
"Could not find a candidate module to add the component to. Please specify which module the component should be added to by using the '--module' option, or pass '--standalone' to generate a standalone component."
);
}

0 comments on commit b526e1d

Please sign in to comment.