"Preset files are not allowed to export objects, only functions" when updating RN version

Hi, everyone,

I’ve been playing around with React Native recently (starting via CRNA) and when I just tried updating from React Native 0.55.2 to 0.57.1 I can no longer run my app as I get the following:

/Users/darryl/Projects/personal/client/node_modules/react-native-scripts/build/bin/crna-entry.js: Plugin/Preset files are not allowed to export objects, only functions. In /Users/darryl/Projects/personal/client/node_modules/babel-preset-expo/index.js

Any ideas? I’ve seen this mentioned in a few places but not related directly to updating React Native. Any help would be very much appreciated. Thanks!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.