DEV Community

Discussion on: Expo SDK 38 is now available

Collapse
 
oneuptim profile image
oneuptim • Edited

Update: Seems like a week or so after sdk 38 was released with react-native-safe-area-context v3.0.3 and by the time of updating, it's now v3.0.7 which might be why this is happening, a dev added readonly to the type def is what it seems from the repo, see here -> github.com/th3rdwave/react-native-...

Updating my node version to latest v14.0.5 (at the time of this writing) seems to solve this for me. In addition, I deleted node_modules, yarn.lock, cleared expo cache (yarn cache clean or npm cache clean) and reinstalled everything a fresh. Even after all this, there were some dependancies that weren't added by expo and all I needed to do after was expo add <dependency_name>, hope this helps.

Thread Thread
 
rafesley profile image
wes

Thank you so much! It worked for me as well =)

Thread Thread
 
oneuptim profile image
oneuptim

Happy to hear that :)