Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when creating new project with Angular-CLI 6.1.2

I tried creating a new Angular project using ng new angular-6-boilerplate but I can't do it anymore with angular-cli latest version. I'm using terminal for windows to create my project but I got this error.

Schematic input does not validate against the Schema: {"name":"angular-6-boilerplate","version":"6.1.2","newProjectRoot":"projects","skipInstall":false,"linkCli":false,"skipGit":false,"commit":null} Errors:

  Data path ".name" should match format "html-selector".

Why am I getting this error?

like image 720
Sherwin Ablaña Dapito Avatar asked Aug 04 '18 23:08

Sherwin Ablaña Dapito


1 Answers

Do not include project name special characters or numbers. Try the following:

$ ng new angular-boilerplate

I did some research & found out that this comes from the schema responsible of creating new Angular applications Link Here

like image 168
Melchia Avatar answered Oct 30 '22 19:10

Melchia