-
-
Notifications
You must be signed in to change notification settings - Fork 48
Additional Troubleshooting
Kemal Ahmed edited this page Mar 14, 2023
·
9 revisions
Problem:
Unknown option: .name
Solution: in your babel config, take the module out of presets
and put in plugins
Problem:
Unable to resolve module@envfromsrc/utils/Environment/util.ts: @env could not be found within the project.
https://github.com/facebook/react-native/issues/29351#issuecomment-657929014
Problem:
Unable to resolve module 'fs' from 'node_modules/react-native-dotenv/index.js'
Solution: do not use fs
for this. Make sure you double check the migration guide
Sentry has its own non-standard dotenv system that overrides other dotenv libraries. You'll need to set SENTRY_LOAD_DOTENV=0
https://docs.sentry.io/product/cli/configuration/