Used navigation, reanimated and drawer versions:
"@react-navigation/drawer": "^6.6.6",
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.12",
"react-native-reanimated": "^3.6.1",
This error is thrown while I toggle the drawer and this error can be minimized and then I continue the further process. But I want to know the permanent resolution.

This fixes this issue. When the emulator is overloaded with cache, your error occurs.
After that, run: