Home > front end >  Trying to create a component
Trying to create a component

Time:05-16

I write the following command in the terminal:

ng g c Red-Light

And I get the following error:

The generate command requires to be run in an Angular project, but a project definition could not be found.

I have already created an Angular app.

CodePudding user response:

Did you try run this command in your Angular application folder

  • Related