me-12 / single-spa-portal-example

Example project on how to combine multiple SPA's on a single Website
MIT License
407 stars 136 forks source link

There are multiple modules with names that only differ in casing #55

Closed bathpp closed 6 years ago

bathpp commented 6 years ago

Hi, I got the following warning when I try to build the app1React using this repo, I didn't change any config. By googling, this warning often caused by mixing cases in import, while this doesn't apply to me. The difference here seems to be the backslash and forward-slash in the path that are being different. Do you have any idea how this can happen/fix?

WARNING in (webpack)/buildin/global.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\yhe\Documents\GitHub\single-spa-portal-example\app1React\node_modules\webpack\buildin\global.js Used by 2 module(s), i. e. C:\Users\yhe\Documents\GitHub\single-spa-portal-example\app1React\node_modules\punycode\punycode.js
  • C:\Users\yhe\Documents\Github\single-spa-portal-example\app1React\node_modules\webpack\buildin\global.js Used by 2 module(s), i. e. C:\Users\yhe\Documents\Github\single-spa-portal-example\app1React\node_modules\symbol-observable\es\index.js @ (webpack)/buildin/global.js @ C:/Users/yhe/Documents/GitHub/single-spa-portal-example/app1React/node_modules/punycode/punycode.js @ C:/Users/yhe/Documents/GitHub/single-spa-portal-example/app1React/node_modules/url/url.js @ (webpack)-dev-server/client?http://localhost:9001 @ multi (webpack)-dev-server/client?http://localhost:9001 ./src/singleSpaEntry.js
bathpp commented 6 years ago

After removing the spas folder to new created folder, this warning stopped. And it seems the warning won't show if I run it in the vscode build-in bash.. Closing this..