angular - Angular 6关于多个模块的警告,其名称仅在大小写上有所不同
问题描述
升级到 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
再次,但问题仍然存在。请指教,谢谢!
解决方案
推荐阅读
- macos - 在 PlaidML 中使用实验设备支持?
- java - 如何防止删除液
- python-3.x - Groupby 与 Cumcount - 未按预期工作
- python - 基于数据库引擎的 Alembic 条件
- python - 等价于Python对R中字符串的综合列表操作
- environment-variables - 获取 Dlang 中的所有环境变量
- c# - 无法在 C#(本地计算机)中编辑 32 位注册表
- python - Pandas Rolling Groupby Shift back 1,试图滞后滚动总和
- sql - SQL Server:每天的平均警报数,不包括没有警报的天数
- node.js - AWS Alexa 技能冻结/解冻