Error in navigation import

I am getting this error when i tring to implement react navigation.

Unable to resolve “…/…/utils/HeaderShownContext” from “node_modules@react-navigation\stack\src\views\Stack\StackView.tsx”

Please post a screenshot of the file where you imported this file.

Here is the screenshot

Any solutions to the problem?

I would suggest check your SafeAreaView. There are some known errors with navigation and SafeAreaView.

Another option is to reinstall all modules and check your versions. You can find all instructions online.

Let me know if it works :slight_smile:

Tried your suggestions still not working