‘Stack.Navigator’ cannot be used as a JSX component
You will need to fix the version for @types/react package because many react libraries have dependency set as @types/react : “*”, which will take the latest version of the package. (I suppose they just released version 18) To do that you can add this in your package.json if you use yarn “resolutions”: { “@types/react”: “17.0.43” … Read more