升级到Angular 6后,该应用程序在浏览器上可以正常工作,但在控制台上却收到一些警告:
WARNING in ./node_modules/RxJs/_esm5/internal/util/tryCatch.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:
* C:\Users\myUser\node_modules\RxJs\_esm5\internal\util\tryCatch.js
Used by 3 module(s), i. e.
C:\Users\myUser\node_modules\RxJs\_esm5\internal\Subscription.js
* C:\Users\myUser\node_modules\rxjs\_esm5\internal\util\tryCatch.js
Used by 38 module(s), i. e.
C:\Users\myUser\node_modules\rxjs\_esm5\internal\operators\sequenceEqual.js
i 「wdm」: Compiled with warnings.
奇怪的是,RxJs
下的node_modules
目录不存在,所以我不明白为什么会收到此错误。我删除了node_modules
,再次运行了npm cache verify
和npm install
,但是问题仍然存在。请指教,谢谢!