Angular material RangePicker未在angular cli中工作

Angular material RangePicker未在angular cli中工作,angular-material,angular-cli,angular-components,Angular Material,Angular Cli,Angular Components,日期范围选择器不工作为什么? 我使用npm安装和更新包MatDatepickerModule、MatNativeDateModule、, MatFormFieldModule Angular CLI: 7.0.2 Node: 10.16.3 OS: win32 x64 Angular: 7.0.0 animations, common, compiler, compiler-cli, core, forms http, language-service, platform-browser p

日期范围选择器不工作为什么? 我使用npm安装和更新包MatDatepickerModule、MatNativeDateModule、, MatFormFieldModule

Angular CLI: 7.0.2
Node: 10.16.3
OS: win32 x64
Angular: 7.0.0
animations, common, compiler, compiler-cli, core, forms
 http, language-service, platform-browser
 platform-browser-dynamic, router

Package                           Version
@angular-devkit/architect         0.10.2
@angular-devkit/build-angular     0.10.2
@angular-devkit/build-optimizer   0.10.2
@angular-devkit/build-webpack     0.10.2
@angular-devkit/core              7.0.2
@angular-devkit/schematics        7.0.2
@angular/cdk                      7.0.1
@angular/cli                      7.0.2
@angular/flex-layout              7.0.0-beta.19
@angular/material                 7.0.1
@ngtools/webpack                  7.0.2
@schematics/angular               7.0.2
@schematics/update                0.10.2
rxjs                              6.3.3
typescript                        3.1.3
webpack                           4.19.1

core.js:12301 ERROR Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to ' since it isn't a known property of 'mat-date-range-input'.
1. If 'mat-date-range-input' is an Angular component and it has input, then verify that it is part of this module.