that error means the library does not support react-native-web. you could find any library that supports web to do this and import in a .web.js file so it’s only used on web
I guess it does work for the Expo android and iOS emulators, just not running it in web browser.
I’m not sure there is one that works on the web browser, as I’ve tried react-native-latex, react-native-math-view, react-native-mathjax, and react-native-katex.
If anyone knows of one that does then I would appreciate it.