解决方法: 卸载重新安装angularcli 卸载的时候。进入c盘的npm文件夹下删除掉angular文件。然后再执行下一步。 用npm安装重新安装(不要用cnpm安装)
卸载重新安装angularcli
用npm安装重新安装(不要用cnpm安装)