zetachang / react-native-dotenv

A Babel preset let you import application configs from .env file (zero runtime dependency)
MIT License
915 stars 68 forks source link

Bundling failed because modul fs is not found #69

Closed dorklord23 closed 4 years ago

dorklord23 commented 4 years ago

react-native start and react-native run-android ran just fine but after the mobile app is opened on Android and Metro Budler started bundling, it suddenly crash with this error:

image

I have set my .babelrc as it should be to no avail.

dorklord23 commented 4 years ago

Fixed with this trick https://github.com/zetachang/react-native-dotenv/issues/39#issuecomment-384593005 #39