Error: invalid componentType to push

I’m trying to use the new navigation structure as in the tutorial starter given. But when I want to navigate to a new page with similar code like navigating from list to itemDetails I’m always getting

invalid componentType to push

Is there a way how to find out where exactly the problem is?

Thank you!

Show us a code you used to do this.

I found it: The import path of the new page was not correct.

But is there no opportunity to find out which componentTyoe is invalid?