Most of the React Navigation examples do not work in Expo Snack

Hey all,
I was trying to learn React Navigation but alot/most of their examples didn’t work.
I opened a ticket but wasn’t sure if its an issue on their side or Expo side:

They haven’t answered for a few weeks so thought I’d ask Expo whose side the issue is.

For example, here is one of the snacks:

You can see it errors at the bottom with:

package.json (6:5)
Failed to resolve dependency ‘react-native-pager-view@6.1.2’ (Invalid module …/Utilities/Platform - Module not found: Error: Can’t resolve ‘…/Utilities/Platform’ in ‘/tmp/snackager/snackager/buildStatus/1/react-native-pager-view@6.1.2-ios,android,web/package/node_modules/react-native/Libraries/Alert’)

Why would react-native-pager-view fail?


Hi @armyofda12mnkeys

I’ve answered on the React Navigation issue.

wow thank you, hoping the React Navigation guys fix their stuff by following your solution.