javascript - There is another module with an equal name when case is ignored?
PHPz
PHPz 2017-04-11 11:50:08
[JavaScript讨论组]

使用angular2+webpack开发项目,在mac上运行没有问题,但是在windows上启动报了很多warning,导致项目启动不起来。

已将项目原型上传至github: https://github.com/zhouweimin...

在windows上运行时,报错:

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:/angular2-webpack-express-less-spa/src/~/.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:/angular2-webpack-express-less-spa/src/~/.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.

尝试过很多修改,github上也有类似的提问,但貌似没能解决,也测试使用 https://github.com/Urthen/cas...,但是都没能解决。

求大神帮忙!

PHPz
PHPz

学习是最好的投资!

全部回复(1)
怪我咯

我这边是因为 目录大小写的问题,我目录用大写开头,然后在import的时候,同一个目录,一个import用小写,一个用大写,结果出现上述错误了

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号