Closed giovanniKleinCampigoto closed 4 years ago
Also having the same problem on Arch linux and Node 12.14.1
I'm obviously not the expert, but it looks like you may need to import { App, Button View, Text, Window } from 'proton-native'
instead of just Button
, to get the application running.
I'm obviously not the expert, but it looks like you may need to
import { App, Button View, Text, Window } from 'proton-native'
instead of justButton
, to get the application running.
Thanks for the heads up, but everything is imported, it's just a snippet.
Describe the bug When I'm importing a Button from proton-native, and rendering it the app crashes, with the error: TypeError: Cannot read property 'setParent' of undefined.
To Reproduce
Expected behavior Button should be rendered with sucess.
Screenshots
Versions:
Additional context Add any other context about the problem here.