I have an expo app and I would like to use cross-env with expo.
I have changed the start script in package.json to "cross-env LOCAL_IP_ADDRESS=TEST expo start" but the environment variable is not defined once I run npm start.
What am I doing wrong?
Are you trying to use LOCAL_IP_ADDRESS inside of your app? If so, you should follow this guide: https://docs.expo.dev/guides/environment-variables/
What you have done so far only sets the environment variable on the bundler process, it won't be available on your device where your app is running. The guide I linked to explains how to do this.