alireza
alireza

Reputation: 546

expo.modules.interfaces.filesystem.AppDirectories not found

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?

enter image description here

I have no idea what can be causing it

Upvotes: 0

Views: 131

Answers (2)

Bruno
Bruno

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

alireza
alireza

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

Related Questions