在使用react-native-drawer组件时,编译项目报错

image

试了许多的方法,最后通过在一篇博客中找到解决方法https://blog.csdn.net/lxyoucan/article/details/121851577

因为在使用react-native-drawer时也需要使用react-native-reanimated,需要在babel.config.js增加如下第三行配置,然后重新运行就ok了

image
image

posted on 2023-10-30 12:27  九零菜菜  阅读(212)  评论(0)    收藏  举报