Can't resolve 'react-native/Libraries/Image/resolveAssetSource'

#1

Doing a simple:

import Expo from 'expo'

and get this build error

./node_modules/expo/src/Asset.web.js
Module not found: Can't resolve 'react-native/Libraries/Image/resolveAssetSource' in '/Users/chandra/Gabe/mail-native/dev/mail-app/node_modules/expo/src'

Fails hen in browser environment using react-native-web

Works when building for react-native on phone or emulator.

That file does exist:

node_modules/react-native/Libraries/Image/resolveAssetSource.js

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.