ng new app 为什么报错:Data path ".name" should match format "html-selector".

angular cli创建项目时遇到了一个坑,导致报错:Data path ".name" should match format "html-selector".

ng new app 为什么报错:Data path ".name" should match format "html-selector".

? Would you like to add Angular routing? Yes
? Which stylesheet format would you like to use? SCSS   [ http://sass-lang.com  
 ]
Schematic input does not validate against the Schema: {"name":"app_web","version":"7.0.2","routing":true,"style":"scss"}
Errors:

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

找了好久问题,最后发现了解决方案

创建的项目名称了不要有下划线_

我的项目名字叫app_web改为appWeb就好了……

虽然是很简单的一个小问题,却影响了项目的创建,共勉QAQ