Windows上的Webpack警告 - 当忽略大小写时,还有另一个具有相同名称的模块

时间:2016-07-29 10:14:20

标签: angularjs typescript angular webpack

当我从https://angular.io/docs/ts/latest/guide/webpack.html在windows10 X64上运行demo时,我收到大量警告。 e.g:

WARNING in ./~/.npminstall/rxjs/5.0.0-beta.6/rxjs/Notification.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

WARNING in E:/zc_test/angular2-webpack/~/.npminstall/rxjs/5.0.0-beta.6/rxjs/Notification.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

WARNING in E:/zc_test/angular2-webpack/~/.npminstall/process/0.11.5/process/browser.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

WARNING in ./~/.npminstall/process/0.11.5/process/browser.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.

当我在cmd中使用e:\...时,获取WARNING in E:/...,在cmd中使用E:\...,获取WARNING in e:/...,所有警告都针对相同的节点模块。

节点:6.3.1

webpack:1.13.0

0 个答案:

没有答案