Dan*_*mos 5 reactjs react-native expo
我已加入 EAS 预览版,但在构建应用程序时遇到问题。该构建与经典构建系统完美配合。这是问题的屏幕截图:
我认为 EAS 正在缓存依赖项,但我不确定这是否是问题所在或如何清除其缓存。
我第一次构建应用程序时,过程略有不同:
如您所见,较新版本中没有“安装依赖项”步骤。安装依赖项的错误已修复。
我sentry-expo在我的 package.json 和我的app.config.js我有plugins: ["sentry-expo"],
我也尝试添加"cache": {"disabled": true}到 android 构建配置但没有成功。
有谁知道如何解决这个问题?
谢谢!
小智 0
这可能是依赖管理问题。就我而言,我尝试使用yarn“pnp”,据我所知,它目前不支持react-native。我恢复了这一点并能够克服这一点。
我的 .gitignore
# yarn berry
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
Run Code Online (Sandbox Code Playgroud)
我的 .yarnrc.yml
yarnPath: '.yarn/releases/yarn-berry.cjs'
nodeLinker: 'node-modules'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2300 次 |
| 最近记录: |