aloisdeniel / aloisdeniel/figma-to-flutter

Invalid arguments after running build run command

Ouverte
#16 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Dart
Étoiles
875
Forks
135
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.