Questions tagged [angular2-cli]

124 questions
0
votes
2 answers

npm install -g angular-cli doesnt work

Update: Okay It seccussfully installed "npm install -g angular-cli" but now I got new error: "You cannot use the new command inside an angular-cli project." while trying to do: "ng new ang2pro" for making a new project.…
Stav Alfi
  • 13,139
  • 23
  • 99
  • 171
0
votes
1 answer

Why does angular 2 cli generate component create a shared folder with index.ts

When I generate a component with the angular 2 cli: ng g component "test" it creates a folder: test |__Shared | |__Index.ts |__test.component.html |__test.component.css |__etc... What is the Shared folder? I mean what am I assumed to share…
Pascal
  • 12,265
  • 25
  • 103
  • 195
-1
votes
2 answers

Angular 2 is not running using angular-cli

I have created one application with angular cli. While running the application with ng serve, I got below error - Does anyone knows, how to resolve this error?
-2
votes
1 answer

How can do alingment of 3 columns using angular2 and ionic 2

Alignment of 3 columns data should be display inside the column.
1 2 3
8
9