Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 903 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 903 Bytes

Reproduction of expo-image import bug

Steps to reproduce from scratch

  • npx expo install expo-image
  • npx expo install react-native-web@~0.18.10 [email protected] @expo/webpack-config@^18.0.1
  • Run expo-doctor
  • npx expo install react-native
  • Import and use Image from expo-image
  • npm start
  • w
  26 |   static async clearMemoryCache(): Promise<boolean> {
> 27 |     return await ExpoImageModule.clearMemoryCache();
     |                 ^
  28 |   }
  29 |
  30 |   /**

WARNING in ./node_modules/expo-image/build/Image.js:36:17
export 'ExpoImageModule' (imported as 'ExpoImageModule') was not found in './ExpoImage' (possible exports: default)
  34 |    */
  35 |   static async clearDiskCache(): Promise<boolean> {
> 36 |     return await ExpoImageModule.clearDiskCache();
     |                 ^
  37 |   }
  38 |
  39 |   render() {

web compiled with 3 warnings