Module not found: Can't resolve '@react-navigation/core'
Version
Tell us which versions you are using: react v17.0.2 react-native-router-flux v4.3.1 react-native v0.66.3
Expected behaviour
Actual behaviour
I have this basic React Native Code which fails to compile as soon as I import anything from react-native-router-flux. It throws Module not found: Can't resolve '@react-navigation/core'
If I uncomment line import { Router, Scene } from "react-native-router-flux";, everything works fine. I also manually did npm install @react-navigation/core but to no avail. The file actually exists in my node_modules folder
Steps to reproduce
Reproducible Demo
import React from "react";
import { Router, Scene } from "react-native-router-flux";
class Index extends React.Component {
render() {
return <div></div>
}
}
export default Index;
I'm seeing similar problems here when trying to upgrade an older app's dependencies. I suspect this project may no longer be maintained.
@jameswilddev it seems so.
I am facing also same issue for that so please solve this issue as soon as possible i am facing this issue on reac-native 0.69.5 and all other versions & react-native-router-flux 4.3.1