angular cli不会创建Component will,它只是控制台此消息 无法读取未定义的属性'NullLogger' 最佳答案 试试这个:npm install --save @angular/cli@latest在您的package.json目录中。