I have just installed Angular CLI. When I run ng new project-name
on my command line, I get a prompt asking about installations of angular-router and CSS setup. However when I run the same command to create other projects, I no longer have the prompt instead the application is just scarffolded. How do I get the prompts to display again?
Asked
Active
Viewed 459 times
2

Caleb Oki
- 667
- 2
- 11
- 29
-
You're probably using two different versions of the CLI. These prompts were introduced recently. – JB Nizet Jan 06 '19 at 20:41
-
How do I make sure I have only one version? – Caleb Oki Jan 06 '19 at 20:42
-
`ng v` displays the version. – JB Nizet Jan 06 '19 at 20:43
-
Ok, I just ran `ng v` and I get this: Angular CLI: 7.1.4 Node: 8.12.0 OS: win32 x64 – Caleb Oki Jan 06 '19 at 20:48
-
OK, what is your question? *when I run the same command on other projects*: `ng new` is used to **create** a project. So how could you run it "on other projects"? – JB Nizet Jan 06 '19 at 20:50
-
Sorry I meant to write "when I run the same command to create other projects" – Caleb Oki Jan 06 '19 at 20:52
-
3Have you tried running `ng new` from a different shell? I ran into the same issue when using Git Bash, but the prompts work when using Windows Command Prompt and Powershell. – Thomas Higginbotham Jul 11 '19 at 14:44
-
Yes I did this and it finally worked – Caleb Oki Jul 12 '19 at 14:34