You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

执行eas build时遇EPERM错误:无法访问.Trash目录(Mac+Expo)

Mac下执行Expo eas build构建Android项目时遭遇.Trash目录权限错误

在Mac系统上使用Expo执行eas build命令构建Android项目时,反复遇到权限错误,提示无法访问用户目录下的.Trash文件夹。具体执行流程及报错信息如下:

muhammedsowan@Muhammeds-Mac-mini coach-admin-app %  EAS build 
✔ Select platform › Android
✔ Using remote Android credentials (Expo server)
✔ Using Keystore from configuration: Build Credentials WVpHwlx0HX (default)

Compressing project files and uploading to EAS Build. Learn more
EPERM: operation not permitted, scandir '/Users/muhammedsowan/.Trash'
    Error: build command failed.

我已经在网上搜索过相关解决方案,但没有找到有效的解决办法,希望能得到大家的帮助。

内容的提问来源于stack exchange,提问作者Trey

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.26 01:54:53