Error: Element type is invalid: expected a string (for built-in components) or a class/function


I am clueless as to what the problem is. The exports and imports seem to be fine as I resorted to using Mosh’s source code.

1 Like

I have the same issue. Did you solve it

Try by commenting out jsx line-by-line.

Basically some component that is returned in the jsx hasn’t been exported (from its file).

If the above doesn’t help, kill the app and run expo start again.

If it still doesn’t work, share your project’s source code (remove the node_modules folder before uploading). I will take a look at it.