Expo Build for Web - Can't resolve Module

Please run expo diagnostics and paste the log that’s printed out along with your question or issue!

Hi, i’m using react-native-paper in my expo app, and i’m trying to compile for web and it won’t compile due to this error

web Failed to compile.
Module not found: Can’t resolve ‘react-native-web/dist/exports/Appearance’ in ‘D:\ReactNative\rn-APPNAME\node_modules\react-native-paper\lib\module\core’

I see that in the react-native-web/dist/exports/ there is no Appearance module. Has anybody run into this issue?


Expo CLI 3.28.0 environment info:
OS: Windows 10 10.0.18362
Node: 10.13.0 - D:\nodejs\node.EXE
Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.4.1 - D:\nodejs\npm.CMD
Android Studio: Version AI-191.8026.42.35.6010548
expo: ~39.0.2 => 39.0.3
react: 16.13.1 => 16.13.1
react-dom: ^16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz => 0.63.2
react-native-web: ^0.11.7 => 0.11.7
Expo Workflow: managed

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