skip to Main Content

React Native—react-native-dotenv error: api.addExternalDependency is not a function

I am using Expo (version: ~47.0.12) with React Native (version: 0.70.5), and I am unable to use the react-native-dotenv npm package. I have followed many tutorials, and they all result in this same error message: ./node_modules/expo/AppEntry.js TypeError: [BABEL] /Users/jessicagallagher/projects/sfl/sfl-mobile/node_modules/expo/AppEntry.js: api.addExternalDependency…

VIEW QUESTION

Text Wrap in React Native

I am trying to wrap the text inside of a <Text> (red background), but it is not working. I have tried to use flexWrap: wrap. See below for the component code (functional component) and styling (at the end of the…

VIEW QUESTION
Back To Top
Search