./node_modules/@angular/Forms/fesm5/forms.js中的警告有多个模块,其名称仅在大小写上有所不同

时间:2019-06-12 06:33:00

标签: angular7

WARNING in ./node_modules/@angular/Forms/fesm5/forms.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* E:\Ecommerse App Angular\12-06-19 DATEPIKER\my-app\node_modules\@angular\Forms\fesm5\forms.js
    Used by 18 module(s), i. e.
    E:\Ecommerse App Angular\12-06-19 DATEPIKER\my-app\node_modules\@ngtools\webpack\src\index.js!E:\Ecommerse App Angular\12-06-19 DATEPIKER\my-app\src\app\app.module.ts
* E:\Ecommerse App Angular\12-06-19 DATEPIKER\my-app\node_modules\@angular\forms\fesm5\forms.js
    Used by 11 module(s), i. e.
    E:\Ecommerse App Angular\12-06-19 DATEPIKER\my-app\node_modules\ngx-bootstrap\datepicker\fesm5\ngx-bootstrap-datepicker.js

当我编译角度应用程序时,我得到这些警告,一切正常,当我使用npm start命令时,它们给出这些编译时间警告。在我的应用程序中,我使用了角度模板驱动形式,反应性形式以及使用了Ngx-Bootstrap组件MODELBsDatepicker。当我安装npm install ngx-bootstrap --save时,它发出了以上警告。

1 个答案:

答案 0 :(得分:0)

删除软件包参考,然后使用npm install @ angular / forms重新安装。