aloisdeniel / aloisdeniel/figma-to-flutter

Invalid arguments after running build run command

Aperta
#16 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
875
Fork
135
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.