Reputation: 546
I'm migrating my react native app to use expo and expo cli. All is good except I see following Warning/Error and icons are not loading.
Error: Call to function 'ExpoAsset.downloadAsync' has been rejected. → Caused by: Module 'expo.modules.interfaces.filesystem.AppDirectories' not found. Are you sure all modules are linked correctly?
I have no idea what can be causing it
Upvotes: 0
Views: 131
Reputation: 77
I solve this by updating my expo-file-system and my expo-print to the required version for my expo sdk, in my case:
"expo": "~48.0.21",
is
"expo-file-system": "~15.2.2", "expo-print": "~12.2.1",
Upvotes: 0
Reputation: 546
I found an old config in my package json which was excluding filesystem from expo since I wasn't using expo except for 2 packages. removing it resolved this issue.
Upvotes: 1