构建项目结构 ng new HelloAngular --style less安装依赖 npm install运行项目 ng serve 此时如果报Error: Cannot find module ‘@angular-devkit/core’, 就在項目当前目录下安装:npm i @angular-devkit/core 4.再次执行 ng serve则成功, localhost:4200可访问项目