In the tsconfig.json file in the project root directory , add the forceConsistentCasingInFileNames attribute to false (turn off ts case verification).
{
"compilerOptions": {
"forceConsistentCasingInFileNames": false, // 是否开启ts文件系统大小写敏感; to fix: mac上引入antd报错:类型文件名大小写不同错误。
},
}