Unable to resolve module @env from D:\react\weatho\weatho-app\App.js: @env could not be found within the project
10:import {REACT_APP_WEATHER_API_KEY} from "@env";
my env file looks like this:
REACT_APP_WEATHER_API_KEY=2607fb610e6f9fecd16c84408d0b42a2
and my Babel file looks like this:
module.exports = function(api) {
api.cache(true);
return {
plugin: ['babel-preset-expo','module:react-native-dotenv'],
}
}
and my env file is in root folder along with Appjson and few other files