在我的软件包中。
"expo": "^52.0.38",
"@sentry/react-native": "^6.9.1",
当我在expo.io上构建我的应用程序以进行生产时,我会遇到错误:
无法解析模块“@sentry/react-native/expo”的插件
我试图在我的app.json中更改
@Sentry/React-Native Aswell,并降级我的博览会和哨兵版本。但徒劳。
有办法解决吗?还是我该如何解决?我遵循了Expo的指南。
https://github.com/expo/fyi/blob/main/sentry-expo-migration.md
try将“@sentry/react-native/expo”更改为app.json
中的“@sentry/react-native”