Studying angle and ng new name_app does not work. What am I doing wrong?

1

It returns the following error:

alberto@linuxdell:~/Escritorio/angular$ 

    ng new --name=02spa --version=7.1.4

? Would you like to add Angular routing? No
? Which stylesheet format would you like to use? CSS

Error: **Schematic input does not validate against the Schema**: {"name":"02spa","version":"7.1.4","routing":false,"style":"css"}
Errors:

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

Also probe with the command:

ng new nombre_app

and gives the same error.

These are the versions I have:

Angular CLI: 7.1.4
Node: 10.14.2
OS: linux x64
Angular: 
... 

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.11.4
@angular-devkit/core         7.1.4
@angular-devkit/schematics   7.1.4
@schematics/angular          7.1.4
@schematics/update           0.11.4
rxjs                         6.3.3
typescript                   3.1.6

thanks.

    
asked by Alberto Rodriguez 23.12.2018 в 13:34
source

1 answer

1

This is a pretty short answer. Do not use a name that starts with a number for your project.

    
answered by 25.12.2018 в 05:54