Closed cbrevik closed 7 years ago
Again, that commit works fine for me on iOS and Android. Did clearing the cache help with this too?
Of course it did, sorry for wasting your time. 😞
Find it a bit weird that I have to do that for both issues though. I didn't do anything special I wouldn't have done otherwise while setting up a project.
Think I might have uncovered why I got this problem.
I'm having an issue with VSCode not finding the bugsnag-react-native
module with intellisense:
I tried changing to "module": "commonjs"
in tsconfig, which solved the intellisense. That seems also to have caused the white screen though. Just re-running normally then with "module": "es2015" wasn't enough.
I think you need to set "moduleResolution": "node"
in tsconfig.json
's compilerOptions
Adding
bugsnag-react-native
and importing it in file results in white-screen in app.When stepping through code in debugger, it is still calling the relevant
render()
functions of components, so not sure why it behaves like this.Reproducible code here.