skip to Main Content

configuring babel.config.js on react native project

I need to configure my babel.config.js to use react-native-vision-camera as: module.exports = { presets: ['module:metro-react-native-babel-preset'], plugins: [ [ 'react-native-reanimated/plugin', { globals: ['__scanCodes'], }, ], ], }; but my current configuration is as: module.exports = { presets: ['module:metro-react-native-babel-preset'], plugins: [ 'nativewind/babel',…

VIEW QUESTION

React Native error: Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from

I am getting the following error when I am running react native application using react-native-cli error: node_modulesreact-native-reanimatedsrcindex.ts: D:DesktopcodingGithubStocksynode_modulesreact-native-reanimatedsrcindex.ts: Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`. I am attaching the screenshot of error I am getting with my system configuration…

VIEW QUESTION
Back To Top
Search