You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As soon as you build an executable for your dart cli and run that executable from the terminal. It can't find the .env file and throws the following error
[dotenv] Load failed: file not found: File: 'production.env'
The text was updated successfully, but these errors were encountered:
This package only load the host machine environment and/or a external environment file that must be available on the host machine at runtime.
If you are looking for bundling your environment variables in production, you need to define it when compiling your binary.
To specify an environment declaration when running or compiling a Dart application, use the --define option or its abbreviation, -D. Specify the declaration key-value pair using a = format:
As soon as you build an executable for your dart cli and run that executable from the terminal. It can't find the .env file and throws the following error
[dotenv] Load failed: file not found: File: 'production.env'
The text was updated successfully, but these errors were encountered: