Я использую следующее. js v9.3 и material-ui ^ v4 после страницы компиляции в журнале консоли показывает это предупреждение
./node_modules/next/Link.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:
* D:\_Project\code\React\project-next-socialapp\socialapp\node_modules\next\Link.js
Used by 2 module(s), i. e.
D:\_Project\code\React\project-next-socialapp\socialapp\node_modules\next\dist\build\webpack\loaders\next-babel-loader.js??ref--4!D:\_Project\code\React\project-next-socialapp\socialapp\pages\profile.js
* D:\_Project\code\React\project-next-socialapp\socialapp\node_modules\next\link.js
Used by 8 module(s), i. e.
D:\_Project\code\React\project-next-socialapp\socialapp\node_modules\next\dist\build\webpack\loaders\next-babel-loader.js??ref--4!D:\_Project\code\React\project-next-socialapp\socialapp\components\index\Post.js