Closed3

expo sdk 42についてのアップグレードメモ

  26 | const react_native_1 = require("react-native");
  27 | const expo_constants_1 = __importDefault(require("expo-constants"));
> 28 | const Device = __importStar(require("expo-device"));
     |                                      ^
  29 | const Updates = __importStar(require("expo-updates"));
  30 | const react_native_2 = require("@sentry/react-native");
  31 | const DEFAULT_EXTRAS = ['deviceYearClass', 'linkingUri'];
Unable to resolve module expo-device from /.../node_modules/sentry-expo/build/integrations/bare.js: expo-device could not be found within the project.

sentry-expoがexpo-deviceを要求してコケる?

  • expo-clipboardのimport変更
  • expo-constantsのConstants.manifestの型情報変更?
このスクラップは2021/07/11にクローズされました
ログインするとコメントできます