DEV Community

Katanyoo Ubalee
Katanyoo Ubalee

Posted on

ignite 3.5.1 andross template (react-navigation error)

If you see this error after creating a new project from ignite-cli (3.5.1)

undefined is not an object (evaluating '_reactNavigation.ThemeColors.light')

you can fix it by update react-navigation to version 4.0.5 (or greater).

And after that, you will see next error like this

bundling failed: Error: Unable to resolve module ` react-native-screens` from XXX

you can fix it by reinstalling/updating these packages.

npm install --save react-native-gesture-handler react-native-reanimated react-native-screens

good luck ^^

Top comments (0)