Closed reed-jones closed 6 years ago
Having the same issue, I tried using module:react-native-dotenv
but it shows another error.
Error: Plugin/Preset files are not allowed to export objects, only functions.
Theres a PR with a fix that worked for me https://github.com/zetachang/react-native-dotenv/pull/42
Hi, v0.2.0 is released to address this 😄
Although the build is successful, after upgrading to
react-native 0.56.0
andbabel-preset-react-native ^5.0.1
I get the error from Metro Bundler