I have found this error when i used the "//" comment within <view> and <text> components. Or even small white space within <text> will cause error.
For example: <View> {props.name} </View>
Must be changed to: <View>{props.name}</View>
And
<View>
<Text>First Screen......!</Text>
// Form
<TextInput />
// Form
</Text>
<View>
Must be changed to :
<View>
<Text>First Screen......!</Text>
<TextInput />
</Text>
<View>

Thanks
ReplyDelete