Node module error, development server return 500

The copy in expo doesnt work. Here is screenshot instead. I have tried everything which is suggested there. This happen only when I try to

import { COLOR, ThemeProvider } from ‘react-native-material-ui’;

if i don’t import this, the error don’t happen

Related : Unable to resolve module @exponent/vector-icons · Issue #402 · oblador/react-native-vector-icons · GitHub

Hi! I’m not sure whether you are able to use react-native-material-ui in the Expo client, as I believe it relies on react-native link to install custom native code. Here’s an article about using other RN UI toolkits inside the Expo client.

1 Like