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.
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:
Flutter doctor output:
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.