Skip to content

Instantly share code, notes, and snippets.

@Zujaj
Created January 9, 2022 11:28
Show Gist options
  • Save Zujaj/9fab9715c6058c57204ee94ccc19e84b to your computer and use it in GitHub Desktop.
Save Zujaj/9fab9715c6058c57204ee94ccc19e84b to your computer and use it in GitHub Desktop.
An error log for Envify Demonstration.
PS C:\envify_demo> flutter pub run build_runner build --delete-conflicting-outputs
[INFO] Generating build script...
[INFO] Generating build script completed, took 1.2s
[INFO] Precompiling build script......
[INFO] Precompiling build script... completed, took 17.8s
[INFO] Initializing inputs
[INFO] Building new asset graph...
[INFO] Building new asset graph completed, took 1.5s
[INFO] Checking for unexpected pre-existing outputs....
[INFO] Checking for unexpected pre-existing outputs. completed, took 3ms
[INFO] Running build...
[INFO] Generating SDK summary...
[INFO] 8.1s elapsed, 0/3 actions completed.
[INFO] Generating SDK summary completed, took 8.0s
[SEVERE] envify_generator:envify on lib/config/env.dart:
Environment variable not found for field `clientID`.
package:envify_demo/config/env.dart:16:16
16 │ static const clientID = _Secret.client_id;
│ ^^^^^^^^
[INFO] Running build completed, took 9.2s
[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 119ms
[SEVERE] Failed after 9.4s
pub finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment