Closed fisforfaheem closed 1 year ago
this is only happening web builds ?
yes, i am tired of finding issues for last 6 hours, no help found on web
here is complete issue: [17:54:00.317] Running build in San Francisco, USA (West) β sfo1
[17:54:00.382] Cloning github.com/fisforfaheem/dashboard (Branch: main3, Commit: 15edb17)
[17:54:04.281] Cloning completed: 3.898s
[17:54:04.411] Restored build cache
[17:54:04.441] Running "vercel build"
[17:54:04.888] Vercel CLI 29.1.1
[17:54:05.477] Running "install" command: if cd flutter; then git pull && cd .. ; else git clone https://github.com/flutter/flutter.git; fi && ls && flutter/bin/flutter doctor && flutter/bin/flutter clean && flutter/bin/flutter config --enable-web
...
[17:54:05.485] sh: line 0: cd: flutter: No such file or directory
[17:54:05.487] Cloning into 'flutter'...
[17:56:12.826] analysis_options.yaml
[17:56:12.826] android
[17:56:12.826] assets
[17:56:12.826] changelog.md
[17:56:12.827] dashboard.iml
[17:56:12.827] flutter
[17:56:12.827] flutter_native_splash.yaml
[17:56:12.827] image
[17:56:12.827] ios
[17:56:12.827] lib
[17:56:12.827] LICENSE
[17:56:12.827] pubspec.lock
[17:56:12.827] pubspec.yaml
[17:56:12.827] README.md
[17:56:12.827] README.pdf
[17:56:12.827] vercel.json
[17:56:12.827] web
[17:56:12.837] Woah! You appear to be trying to run flutter as root.
[17:56:12.837] We strongly recommend running the flutter tool without superuser privileges.
[17:56:12.837] /
[17:56:12.837] π
[17:56:12.853] Downloading Linux x64 Dart SDK from Flutter engine 8d3a8162b3ab7a3a955af1d9d674b1c5fa78471a...
[17:56:12.860] % Total % Received % Xferd Average Speed Time Time Time Current
[17:56:12.860] Dload Upload Total Spent Left Speed
[17:56:15.112]
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
28 204M 28 58.4M 0 0 83.3M 0 0:00:02 --:--:-- 0:00:02 83.3M
69 204M 69 141M 0 0 83.2M 0 0:00:02 0:00:01 0:00:01 83.2M
100 204M 100 204M 0 0 91.0M 0 0:00:02 0:00:02 --:--:-- 91.0M
[17:56:20.249] Building flutter tool...
[17:56:20.393] Resolving dependencies...
[17:56:25.029] Got dependencies.
[17:56:39.129] Downloading Material fonts... 366ms
[17:56:39.251] Downloading Gradle Wrapper... 62ms
[17:56:39.332] Downloading package sky_engine... 68ms
[17:56:39.561] Downloading flutter_patched_sdk tools... 173ms
[17:56:39.814] Downloading flutter_patched_sdk_product tools... 155ms
[17:56:41.093] Downloading linux-x64 tools... 1,180ms
[17:56:41.997] Downloading linux-x64/font-subset tools... 57ms
[17:56:43.627] Doctor summary (to see all details, run flutter doctor -v):
[17:56:43.697] [!] Flutter (Channel master, 3.11.0-2.0.pre.73, on Amazon Linux 2 5.10.177-158.645.amzn2.x86_64, locale en_US.UTF-8)
[17:56:43.698] ! The flutter binary is not on your path. Consider adding /vercel/path0/flutter/bin to your path.
[17:56:43.698] ! The dart binary is not on your path. Consider adding /vercel/path0/flutter/bin to your path.
[17:56:43.700] [β] Android toolchain - develop for Android devices
[17:56:43.700] β Unable to locate Android SDK.
[17:56:43.700] Install Android Studio from: https://developer.android.com/studio/index.html
[17:56:43.700] On first launch it will assist you in installing the Android SDK components.
[17:56:43.700] (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[17:56:43.700] If the Android SDK has been installed to a custom location, please use
[17:56:43.701] flutter config --android-sdk
to update to that location.
[17:56:43.701]
[17:56:43.702] [β] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
[17:56:43.702] ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[17:56:43.733] [β] Linux toolchain - develop for Linux desktop
[17:56:43.734] β clang++ is required for Linux development.
[17:56:43.734] It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from https://releases.llvm.org/
[17:56:43.734] β CMake is required for Linux development.
[17:56:43.734] It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from https://cmake.org/download/
[17:56:43.734] β ninja is required for Linux development.
[17:56:43.735] It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases
[17:56:43.736] β pkg-config 0.29.0 or later is required.
[17:56:43.737] β GTK 3.0 development libraries are required for Linux development.
[17:56:43.737] They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
[17:56:43.737] [!] Android Studio (not installed)
[17:56:43.737] [β] Connected device (1 available)
[17:56:44.033] [β] Network resources
[17:56:44.033]
[17:56:44.033] ! Doctor found issues in 5 categories.
[17:56:44.060] Woah! You appear to be trying to run flutter as root.
[17:56:44.060] We strongly recommend running the flutter tool without superuser privileges.
[17:56:44.061] /
[17:56:44.061] π
[17:56:44.314] Deleting .dart_tool... 0ms
[17:56:44.317] Deleting .flutter-plugins-dependencies... 0ms
[17:56:44.318] Deleting .flutter-plugins... 0ms
[17:56:44.347] Woah! You appear to be trying to run flutter as root.
[17:56:44.347] We strongly recommend running the flutter tool without superuser privileges.
[17:56:44.347] /
[17:56:44.347] π
[17:56:44.535] Setting "enable-web" value to "true".
[17:56:44.535]
[17:56:44.536] You may need to restart any open editors for them to read new settings.
[17:56:45.045] Already up to date.
[17:56:45.055] Woah! You appear to be trying to run flutter as root.
[17:56:45.055] We strongly recommend running the flutter tool without superuser privileges.
[17:56:45.055] /
[17:56:45.055] π
[17:56:45.243] Setting "enable-web" value to "true".
[17:56:45.244]
[17:56:45.244] You may need to restart any open editors for them to read new settings.
[17:56:45.276] Woah! You appear to be trying to run flutter as root.
[17:56:45.276] We strongly recommend running the flutter tool without superuser privileges.
[17:56:45.277] /
[17:56:45.277] π
[17:56:47.538] Downloading Web SDK... 2,057ms
[17:56:49.393] Resolving dependencies...
[17:57:03.631] ! archive 3.3.7 (overridden)
[17:57:03.631] args 2.4.0 (2.4.1 available)
[17:57:03.631] > async 2.11.0 (was 2.10.0)
[17:57:03.631] > characters 1.3.0 (was 1.2.1)
[17:57:03.631] charts_common 0.12.0 (discontinued)
[17:57:03.631] cloud_firestore 4.5.3 (4.6.0 available)
[17:57:03.631] cloud_firestore_platform_interface 5.12.1 (5.13.0 available)
[17:57:03.632] cloud_firestore_web 3.4.2 (3.4.3 available)
[17:57:03.632] crypto 3.0.2 (3.0.3 available)
[17:57:03.632] dio 5.1.1 (5.1.2 available)
[17:57:03.632] ! equatable 2.0.5 (overridden)
[17:57:03.632] file_picker 5.2.11 (5.3.0 available)
[17:57:03.632] flutter_plugin_android_lifecycle 2.0.13 (2.0.14 available)
[17:57:03.632] html 0.15.2 (0.15.3 available)
[17:57:03.632] http 0.13.5 (0.13.6 available)
[17:57:03.632] image 4.0.16 (4.0.17 available)
[17:57:03.632] image_network 2.5.1 (2.5.2 available)
[17:57:03.632] image_picker_android 0.8.6+9 (0.8.6+11 available)
[17:57:03.632] intl 0.17.0 (0.18.1 available)
[17:57:03.632] json_annotation 4.8.0 (4.8.1 available)
[17:57:03.632] lints 2.0.1 (2.1.0 available)
[17:57:03.633] > matcher 0.12.15 (was 0.12.14) (0.12.16 available)
[17:57:03.633] > material_color_utilities 0.5.0 (was 0.2.0)
[17:57:03.633] > meta 1.9.1 (was 1.9.0)
[17:57:03.633] path_provider 2.0.14 (2.0.15 available)
[17:57:03.633] path_provider_foundation 2.2.2 (2.2.3 available)
[17:57:03.633] petitparser 5.1.0 (5.4.0 available)
[17:57:03.633] shared_preferences 2.1.0 (2.1.1 available)
[17:57:03.634] shared_preferences_foundation 2.2.1 (2.2.2 available)
[17:57:03.634] > source_span 1.10.0 (was 1.9.1)
[17:57:03.634] > test_api 0.5.2 (was 0.4.18)
[17:57:03.634] webview_flutter 3.0.4 (4.2.0 available)
[17:57:03.634] webview_flutter_android 2.10.4 (3.7.0 available)
[17:57:03.635] webview_flutter_platform_interface 1.9.5 (2.3.0 available)
[17:57:03.635] webview_flutter_wkwebview 2.9.5 (3.4.2 available)
[17:57:03.635] win32 4.1.3 (4.1.4 available)
[17:57:03.635] ! xml 6.2.2 (overridden) (6.3.0 available)
[17:57:03.635] yaml 3.1.1 (3.1.2 available)
[17:57:03.636] Changed 7 dependencies!
[17:57:04.158]
[17:57:22.339] Compiling lib/main.dart for the Web...
[17:57:22.341] Target dart2js failed: ProcessException: Process exited abnormally:
[17:57:22.341] ../.pub-cache/hosted/pub.dev/get-4.6.5/lib/get_navigation/src/nav2/get_information_parser.dart:29:50:
[17:57:22.341] Warning: Operand of null-aware operation '??' has type 'String' which excludes null.
[17:57:22.341] final matchResult = Get.routeTree.matchRoute(location ?? initialRoute);
[17:57:22.341] ^
[17:57:22.341] ../.pub-cache/hosted/pub.dev/get-4.6.5/lib/get_navigation/src/nav2/get_router_delegate.dart:374:36:
[17:57:22.341] Warning: Operand of null-aware operation '!' has type 'String' which excludes null.
[17:57:22.341] await backUntil(config.location!, popMode: PopMode.Page);
[17:57:22.341] ^
[17:57:22.341] ../.pub-cache/hosted/pub.dev/another_flushbar-1.12.29/lib/flushbar.dart:439:38:
[17:57:22.341] Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry' because 'BorderRadius?' is nullable and 'BorderRadiusGeometry' isn't.
[17:57:22.341] - 'BorderRadius' is from 'package:flutter/src/painting/border_radius.dart' ('flutter/packages/flutter/lib/src/painting/border_radius.dart').
[17:57:22.341] - 'BorderRadiusGeometry' is from 'package:flutter/src/painting/border_radius.dart' ('flutter/packages/flutter/lib/src/painting/border_radius.dart').
[17:57:22.342] borderRadius: widget.borderRadius,
[17:57:22.342] ^
[17:57:22.342] ../.pub-cache/hosted/pub.dev/flutter_speed_dial-6.2.0/lib/src/speed_dial.dart:360:41:
[17:57:22.342] Warning: Operand of null-aware operation '!' has type 'OverlayState' which excludes null.
[17:57:22.342] - 'OverlayState' is from 'package:flutter/src/widgets/overlay.dart' ('flutter/packages/flutter/lib/src/widgets/overlay.dart').
[17:57:22.342] if (widget.renderOverlay) Overlay.of(context)!.insert(backgroundOverlay!);
[17:57:22.343] ^
[17:57:22.343] ../.pub-cache/hosted/pub.dev/flutter_speed_dial-6.2.0/lib/src/speed_dial.dart:361:15:
[17:57:22.343] Warning: Operand of null-aware operation '!' has type 'OverlayState' which excludes null.
[17:57:22.343] - 'OverlayState' is from 'package:flutter/src/widgets/overlay.dart' ('flutter/packages/flutter/lib/src/widgets/overlay.dart').
[17:57:22.343] Overlay.of(context)!.insert(overlayEntry!);
[17:57:22.343] ^
[17:57:22.343] ../.pub-cache/hosted/pub.dev/data_table_2-2.4.2/lib/src/data_table_2.dart:734:26:
[17:57:22.343] Warning: Operand of null-aware operation '!' has type 'List
okay give me a few minutes let me run on web
ok
closing as flushbar is not the root cause of this error
Sie can u please at least give update to pub. Devπͺ, its been 8 months, please bump sdk etx
On Tue, May 9, 2023, 8:10 PM Root Access @.***> wrote:
closing as flushbar is not the root cause of this error
β Reply to this email directly, view it on GitHub https://github.com/cmdrootaccess/another-flushbar/issues/105#issuecomment-1540343206, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSDNOK6KX3QBPCESMWLXFJM7PANCNFSM6AAAAAAX3ICN2Q . You are receiving this because you authored the thread.Message ID: @.***>
are you using dart 3 ?
Flutter 3.7 but planning to shift to flutter beta soon
On Tue, May 9, 2023, 8:26 PM Root Access @.***> wrote:
are you using dart 3 ?
β Reply to this email directly, view it on GitHub https://github.com/cmdrootaccess/another-flushbar/issues/105#issuecomment-1540387759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSBMYKX4PLQR4ZCSEMLXFJO4FANCNFSM6AAAAAAX3ICN2Q . You are receiving this because you authored the thread.Message ID: @.***>
am also using the same version. i guess the issue is with some of your dependencies .
Yeah i will try to see what could be the issues, can you maybe please also try to upload your project any flutter project on Web using netli fly? In this way, maybe it will be the problem of flatter sdk
On Tue, May 9, 2023, 8:34 PM Root Access @.***> wrote:
am also using the same version. i guess the issue is with some of your dependencies . [image: Screen Shot 2023-05-09 at 6 33 25 PM] https://user-images.githubusercontent.com/14039016/237145947-f8f53ef0-5c6d-4390-a6ef-6445d2d6924d.png
β Reply to this email directly, view it on GitHub https://github.com/cmdrootaccess/another-flushbar/issues/105#issuecomment-1540407840, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSAZT6KEHBVLSIR563LXFJPYRANCNFSM6AAAAAAX3ICN2Q . You are receiving this because you authored the thread.Message ID: @.***>
sure i will do that