leoafarias/sidekick

Linux Build Process Failed

Open

#286 aberto em 10 de mar. de 2023

Ver no GitHub
 (4 comments) (0 reactions) (1 assignee)Dart (110 forks)github user discovery
bugdependencieshelp wanted

Métricas do repositório

Stars
 (1.683 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Flutter Doctor:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.7, on Ubuntu 22.04.2 LTS 5.19.0-35-generic, locale en_IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2021.3)
[✓] VS Code
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

Flutter run :

Launching lib/main.dart on Linux in debug mode...
ERROR: ../../../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' has fewer named arguments than
 those of overridden method 'File.create'.
ERROR:   Future<File> create({bool recursive = false});
ERROR:                ^
ERROR: org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:232:16: Context: This is the overridden method ('create').
ERROR:   Future<File> create({bool recursive = false, bool exclusive = false});
ERROR:                ^
ERROR: ../../../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' doesn't have the named paramet
er 'exclusive' of overridden method 'File.create'.
ERROR:   Future<File> create({bool recursive = false});
ERROR:                ^
ERROR: org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:232:16: Context: This is the overridden method ('create').
ERROR:   Future<File> create({bool recursive = false, bool exclusive = false});
ERROR:                ^
ERROR: ../../../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/forwarding/forwarding_file.dart:22:8: Error: The method 'ForwardingFile.createSync' has f
ewer named arguments than those of overridden method 'File.createSync'.
ERROR:   void createSync({bool recursive = false}) =>
ERROR:        ^
ERROR: org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync').
ERROR:   void createSync({bool recursive = false, bool exclusive = false});
ERROR:        ^
ERROR: ../../../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/forwarding/forwarding_file.dart:22:8: Error: The method 'ForwardingFile.createSync' doesn
't have the named parameter 'exclusive' of overridden method 'File.createSync'.
ERROR:   void createSync({bool recursive = false}) =>
ERROR:        ^
ERROR: org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync').
ERROR:   void createSync({bool recursive = false, bool exclusive = false});
ERROR:        ^
ERROR: Target kernel_snapshot failed: Exception
Building Linux application...                                           
Exception: Build process failed

Guia do colaborador