Closed
Description
In material-ui/Popper.js
, maybe considering using a different approach on importing the popper.js
to Popper component. My webpack compiler reports it as follow:
WARNING in ./node_modules/@material-ui/core/Popper/Popper.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:
* /Users/iohl/Documents/Workspace/Public/VARIOLOGIC/sysops_pool/node_modules/@material-ui/core/Popper/Popper.js
Used by 1 module(s), i. e.
/Users/iohl/Documents/Workspace/Public/VARIOLOGIC/sysops_pool/node_modules/@material-ui/core/Popper/index.js
* /Users/iohl/Documents/Workspace/Public/VARIOLOGIC/sysops_pool/node_modules/@material-ui/core/Popper/popper.js
Used by 2 module(s), i. e.
/Users/iohl/Documents/Workspace/Public/VARIOLOGIC/sysops_pool/node_modules/@material-ui/core/Popper/Popper.js
...
Solution
A temporally fix for this issue is to use either an absolute or relative path that point directly to popper.js
file when require the library.
See #14711 (comment)