i am using React-Native using Expo-cli. I've also installed a library React-Native-Paper. When i run (expo start) my code without importing React-Native-Paper component it runs fine, but as i import even a single component from React-Native-Paper (lets say PaperProvider) i get the following error..
module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
env: {
production: {
plugins: ['react-native-paper/babel.js'],
},
},
};
};
Please help.!