react-navigation / react-navigation/react-navigation
TypeError when navigating.
Open
Nobody has claimed this yet.
bug
package:stack
- Dominant language
- TypeScript
- Stars
- 24.5k
- Forks
- 5.1k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 18
Description
Current Behavior
- What code are you running and what is happening?
Recently upgraded our boilerplate in https://github.com/dooboolab/dooboo-native-ts/pull/155. This commit starts to show current behavior. - Include a screenshot or video if it makes sense.

I've also found various issues related to TypeError even in Troubleshooting in react-navigation. However, none of them solved the problem currently.
Expected Behavior
- What do you expect should be happening?
Not throwing an error when navigating.
How to reproduce
- Get recent code from https://github.com/dooboolab/dooboo-native-ts/pull/155.
yarn && yarn start
Your Environment
| software | version |
|---|---|
| iOS or Android | iOS |
| @react-navigation/native | 5.7.3 |
| @react-navigation/stack | 5.9.0 |
| react-native-gesture-handler | 1.7.0 |
| react-native-safe-area-context | 3.1.7 |
| react-native-screens | 2.10.1 |
| react-native | 0.63.2 |
| node | 12.14.1 |
| npm or yarn | yarn |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the recent code from dooboo-native-ts pull request 155 and commit 948039e, then run yarn && yarn start on iOS. Trace the TypeError shown while navigating and compare the React Navigation setup with the listed package versions. Done means navigation works without throwing the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100