Rodsevich / arb_utils

A set of tools for working with .arb files (the preferred Dart way of dealing with i18n/l10n/translations)
https://pub.dev/packages/arb_utils
BSD 3-Clause "New" or "Revised" License
19 stars 12 forks source link

0.7.0 installation broken #23

Closed buehler closed 8 months ago

buehler commented 8 months ago

Hey there!

I just recently tried to update to the 0.7.0 version. Sadly, I cannot upgrade (with newest flutter version) since the package is not able to build locally.

What I tried: dart pub global activate arb_utils

What happend:

Building package executables... (2.7s)
Failed to build arb_utils:arb_utils:
../../../../.pub-cache/hosted/pub.dev/dcli-3.3.5/lib/src/script/dart_project.dart:114:18: Error: Member not found: 'packageConfig'.
    if (Platform.packageConfig != null) {
                 ^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/dcli-3.3.5/lib/src/script/dart_project.dart:121:49: Error: Member not found: 'packageConfig'.
          DartProject.fromPath(dirname(Platform.packageConfig!));
                                                ^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/dcli-3.3.5/lib/src/script/dart_script.dart:42:29: Error: Member not found: 'script'.
    final script = Platform.script;
                            ^^^^^^
../../../../.pub-cache/hosted/pub.dev/dcli-3.3.5/lib/src/script/dart_script.dart:49:31: Error: Member not found: 'script'.
      pathToScript = Platform.script.toFilePath();
                              ^^^^^^
../../../../.pub-cache/hosted/pub.dev/dcli-3.3.5/lib/src/script/dart_script.dart:54:33: Error: Member not found: 'resolvedExecutable'.
        pathToScript = Platform.resolvedExecutable;
                                ^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/dcli-3.3.5/lib/src/script/dart_script.dart:164:28: Error: Member not found: 'script'.
      p.extension(Platform.script.toFilePath()) != '.dart' &&
                           ^^^^^^
../../../../.pub-cache/hosted/pub.dev/dcli-3.3.5/lib/src/script/dart_script.dart:165:39: Error: Member not found: 'script'.
      !_isPubGlobalActivated(Platform.script.toFilePath());
                                      ^^^^^^

Flutter doctor output:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.2.1 23C71 darwin-arm64, locale en-CH)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.86.2)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 2 categories.

Is this an issue with a dependency or did something break in my installation locally? I also tried to clear all pub caches and everything.

Thientran2910 commented 8 months ago

Same issue