Reputation: 31
After installing react-navigation following the documentation on their official website for expo project, still getting the error of react-navigation/native-stack could not be found within directories, has anyone come across this error and what could possibly be the way out
Upvotes: 0
Views: 684
Reputation: 31
I have finally resolve the issue, I couldn't post earlier, been busy with projects, I have to install react-navigation/native and react-navigation/native-stack
npm install @react-navigation/native
and
npm install @react-navigation/native-stack
I installed both separately and the issue has been resolved, Thanks everyone that tried to help
Upvotes: 1