Code from Mosh's tutorial video on creating a React Native app

I am following Mosh’s tutorial video on building a React Native app. The link is here: React Native Tutorial for Beginners - Build a React Native App - YouTube
However, I am having a problem when following the part of building a Welcome Screen. The background image works fine, but when I start writing another and so on, then this error message happens:

Could somebody help me with this error? I have been searching online and have not been able to find a satisfactory solution.

Someone can only help when they see the actual code