小编Kir*_*lov的帖子

预设选项中不允许Babel改写反应本机导航

我试图在react-native上向此入门项目添加一个路由器react native navigation v2,但是我遇到了与babel软件包有关的问题(可能是)。当我跑步

react-native run-android
Run Code Online (Sandbox Code Playgroud)

我在Metro Bundler中遇到此错误:

加载依赖图,完成。:捆绑失败:错误:[BABEL] D:\ react-native \ projecti \ index.js:预设选项中不允许.overr ides

在Object.keys.forEach.key(D:\ react-native \ projecti \ node_modules \ metro \ node odules \ Obabel \ core \ lib \ config \ validation \ options.js:71:13)在Array.forEach()在在实例化预设(D:\ react-native \ projecti \ node_modules \ metro \ node_modul s \ l @ babel \ core \ lib \ config \ full.js:242:36)在cachedFunction(D:\ react-native \ projecti \ node_modules \ metro \ node_modules \ babel \ core \ lib …

react-native react-native-navigation wix-react-native-navigation react-native-navigation-v2

4
推荐指数
1
解决办法
3267
查看次数