Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid arguments after running build run command #16

Open
ankad opened this issue Dec 24, 2020 · 0 comments
Open

Invalid arguments after running build run command #16

ankad opened this issue Dec 24, 2020 · 0 comments

Comments

@ankad
Copy link

ankad commented Dec 24, 2020

I run command flutter pub run build_runner build, but after several seconds I receive the next error:

[SEVERE] figma_theme_generator:figma_theme_generator on lib/my_figma_theme.dart:

Invalid argument(s): `GRADIENT_DIAMOND` is not one of the supported values: SOLID, GRADIENT_LINEAR, GRADIENT_RADIAL, GRADIENT_ANGULAR, GRADIENT_DIAMON, IMAGE, EMOJI
[INFO] Running build completed, took 22.2s

Full output result:


[INFO] Generating build script...
[INFO] Generating build script completed, took 426ms

[INFO] Initializing inputs
[INFO] Reading cached asset graph...
[INFO] Reading cached asset graph completed, took 91ms

[INFO] Checking for updates since last build...
[INFO] Checking for updates since last build completed, took 981ms

[INFO] Running build...
[INFO] 1.0s elapsed, 0/1 actions completed.
[INFO] 2.1s elapsed, 0/1 actions completed.
[INFO] 5.9s elapsed, 0/1 actions completed.
[INFO] 12.2s elapsed, 0/1 actions completed.
[INFO] 13.2s elapsed, 0/1 actions completed.
[INFO] 14.2s elapsed, 0/1 actions completed.
[WARNING] No actions completed for 15.0s, waiting on:
  - figma_theme_generator:figma_theme_generator on lib/my_figma_theme.dart

[INFO] 16.1s elapsed, 0/1 actions completed.
[INFO] 17.2s elapsed, 0/1 actions completed.
[INFO] 18.3s elapsed, 0/1 actions completed.
[INFO] 19.3s elapsed, 0/1 actions completed.
[INFO] 20.4s elapsed, 0/1 actions completed.
[SEVERE] figma_theme_generator:figma_theme_generator on lib/my_figma_theme.dart:

Invalid argument(s): `GRADIENT_DIAMOND` is not one of the supported values: SOLID, GRADIENT_LINEAR, GRADIENT_RADIAL, GRADIENT_ANGULAR, GRADIENT_DIAMON, IMAGE, EMOJI
[INFO] Running build completed, took 22.2s

[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 57ms

[SEVERE] Failed after 22.2s
pub finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant