First time user, running XDE on ubuntu. I hit “new project”, and go with the defaults. Everything goes fine, simple starter project opens up on my phone, I’m unreasonably happy at how easy this is.
I “npm install --save gl-react gl-react-expo”. I add “import {Surface} from ‘gl-react-expo’;” in App.js. No other changes for now, just want to make sure it’s installed. Error pops up on my phone: “Super expression must be either null or undefined”.
I’ve tried clearing npm cache, deleting node_modules and reinstalling multiple times. I’m on npm 4.2.0, so it’s not npm 5.0.0 weirdness. I hit the restart button in XDE, closed and reopened XDE, nuked the whole project and restarted. I tried installing and importing another library (underscore); that works, so I’m pretty sure the problem is gl-react-expo specific.
Two questions. First, am I missing anything obvious, and does anyone know the fix? Second, is this even the right place to ask this question, since it’s (presumably) gl-react-expo specific?