catalogicsoftware / ngx-dynamic-dashboard-framework

This is a JSON driven angular x based dashboard framework that is inspired by JIRA's dashboard implementation and https://github.com/raulgomis/angular-dashboard-framework
MIT License
187 stars 95 forks source link

Not able to generate any new component #21

Closed ashutosh15aashu closed 5 years ago

ashutosh15aashu commented 5 years ago

Hey,

I was trying to create sample new component after installing npm and successful executing the app but, not able to create new component.

I was getting one message: "Two or more projects are using identical roots. Unable to determine project using current working directory. Using default work space project instead. More than one module matches. Use skip-import option to skip importing the component into the closest module."

Please help me on this: -how to create new components? -try to attach any documentation(How to modify the application) link, if it is there.

Thanks- Ashutosh kumar.

jayhamilton commented 5 years ago

It may be an issue with the version of Angular CLI you are using. See if the following is relevant? https://github.com/angular/angular-cli/issues/11688

ashutosh15aashu commented 5 years ago

@jayhamilton Already, i checked Angular cli version things but, it is not occurring due to version issue. You are using almost separate module for all component. When i'm trying to generate the component it is not able to get the module path or something related to that. I am using the command( ng generate component sample_component ) to generate the sample component. Please, check the screenshots attached below and give any better suggestion. Thanks-

image

ashutosh15aashu commented 5 years ago

I got and fixed that. I have to pass module name with commands.

ng g component sample_component --module=app.module

-Thanks.