It’s a typical initial Angular project (
ng new my project; angular cli version is 7.3.9). I just add one component with the command
ng generate component cube in a terminal located in Myapp/src/app/components (in my case “cube” is the name of the component).
Next I execute
bit init in the root folder of the project : work fine.
And I go to (cd command) Myapp/src/app/components and execute
bit add .\cube\* and here is my error :
unable to add 3 components with the same ID: cube/cubecomponent : src/app/components/cube/cube.component.css,src/app/com
When I change the name of the part of the cube component like : cubeHTML.component.html , cubeTS.component.ts, cubeCSS.component.css for example then the add command works…
Do you have any clue ? I don’t want to rename my component all the time to “bit add” them.