Local build for web

Hello community,I can't build for web on local machine. Mac M1 Pro, Flutter version 3.13.7 beta (same as FF)But it gives me this error every time.

alog 0.0.6 (0.0.7 available)

+ archive 3.4.9

+ args 2.4.2

+ async 2.11.0

+ auto_size_text 3.0.0

+ blurhash_dart 1.2.1

+ boolean_selector 2.1.1

+ cached_network_image 3.2.1 (3.3.0 available)

+ cached_network_image_platform_interface 1.0.0 (3.0.0 available)

+ cached_network_image_web 1.0.1 (1.1.0 available)

+ carousel_slider 4.2.1

+ characters 1.3.0

+ checked_yaml 2.0.3

+ cli_util 0.4.0

+ clock 1.1.1

+ cloud_firestore 4.8.0 (4.13.2 available)

+ cloud_firestore_platform_interface 5.15.0 (6.0.6 available)

+ cloud_firestore_web 3.6.0 (3.8.6 available)

+ cloud_functions 4.3.2 (4.5.5 available)

+ cloud_functions_platform_interface 5.4.2 (5.5.8 available)

+ cloud_functions_web 4.5.2 (4.6.8 available)

+ collection 1.18.0

+ convert 3.1.1

+ cross_file 0.3.3+7

+ crypto 3.0.3

+ csslib 1.0.0

+ cupertino_icons 1.0.6

+ easy_debounce 2.0.1 (2.0.3 available)

+ equatable 2.0.5

+ fake_async 1.3.1

+ ffi 2.1.0

+ file 6.1.4 (7.0.0 available)

+ file_picker 5.2.6 (6.1.1 available)

+ file_selector_linux 0.9.2+1

+ file_selector_macos 0.9.3+3

+ file_selector_platform_interface 2.6.1

+ file_selector_windows 0.9.3+1

+ firebase_analytics 10.4.2 (10.7.1 available)

+ firebase_analytics_platform_interface 3.6.2 (3.8.1 available)

+ firebase_analytics_web 0.5.4+2 (0.5.5+8 available)

+ firebase_auth 4.6.2 (4.14.1 available)

+ firebase_auth_platform_interface 6.15.2 (7.0.5 available)

+ firebase_auth_web 5.5.2 (5.8.8 available)

+ firebase_core 2.13.1 (2.23.0 available)

+ firebase_core_platform_interface 4.8.0 (5.0.0 available)

+ firebase_core_web 2.5.0 (2.8.1 available)

+ firebase_performance 0.9.2+2 (0.9.3+5 available)

+ firebase_performance_platform_interface 0.1.4+2 (0.1.4+13 available)

+ firebase_performance_web 0.1.4+2 (0.1.4+13 available)

+ firebase_storage 11.2.2 (11.5.2 available)

+ firebase_storage_platform_interface 4.4.2 (5.1.0 available)

+ firebase_storage_web 3.6.2 (3.6.14 available)

+ flutter 0.0.0 from sdk flutter

+ flutter_animate 4.1.1+1 (4.3.0 available)

+ flutter_blurhash 0.7.0 (0.8.2 available)

+ flutter_cache_manager 3.3.0 (3.3.1 available)

+ flutter_launcher_icons 0.13.1

+ flutter_lints 3.0.0 (3.0.1 available)

+ flutter_localizations 0.0.0 from sdk flutter

+ flutter_native_splash 2.3.1 (2.3.6 available)

+ flutter_plugin_android_lifecycle 2.0.9 (2.0.17 available)

+ flutter_spinkit 5.1.0 (5.2.0 available)

+ flutter_staggered_grid_view 0.6.2 (0.7.0 available)

+ flutter_stripe 9.4.0 (9.5.0+1 available)

+ flutter_stripe_web 4.4.0 (4.5.0 available)

+ flutter_test 0.0.0 from sdk flutter

+ flutter_web_plugins 0.0.0 from sdk flutter

+ font_awesome_flutter 10.1.0 (10.6.0 available)

+ freezed_annotation 2.4.1

+ from_css_color 2.0.0

+ go_router 7.1.1 (12.1.1 available)

+ google_fonts 4.0.3 (6.1.0 available)

+ google_identity_services_web 0.2.2

+ google_sign_in 6.0.2 (6.1.6 available)

+ google_sign_in_android 6.1.8 (6.1.20 available)

+ google_sign_in_ios 5.6.1 (5.6.5 available)

+ google_sign_in_platform_interface 2.4.0 (2.4.2 available)

+ google_sign_in_web 0.11.0+2 (0.12.1 available)

+ html 0.15.4

+ http 0.13.6 (1.1.1 available)

+ http_parser 4.0.2

+ image 4.0.17 (4.1.3 available)

+ image_picker 1.0.4

+ image_picker_android 0.8.8 (0.8.8+2 available)

+ image_picker_for_web 3.0.1

+ image_picker_ios 0.8.8+2 (0.8.8+4 available)

+ image_picker_linux 0.2.1+1

+ image_picker_macos 0.2.1+1

+ image_picker_platform_interface 2.9.1

+ image_picker_windows 0.2.1+1

+ infinite_scroll_pagination 4.0.0-dev.1 from git https://github.com/FlutterFlow/infinite_scroll_pagination.git at 3d3ce8

+ intl 0.18.1

+ iregexp 0.1.1 (0.1.2 available)

+ js 0.6.7

+ json_annotation 4.8.1

+ json_path 0.6.2 (0.6.6 available)

+ leak_tracker 9.0.13 (9.0.16 available)

+ leak_tracker_testing 1.0.5

+ lints 3.0.0

+ logging 1.2.0

+ lottie 1.2.1 (2.7.0 available)

+ matcher 0.12.16

+ material_color_utilities 0.8.0

+ maybe_just_nothing 0.5.3

+ meta 1.11.0

+ mime 1.0.4

+ mime_type 1.0.0

+ nested 1.0.0

+ octo_image 1.0.2 (2.0.0 available)

+ page_transition 2.0.4 (2.1.0 available)

+ path 1.8.3

+ path_provider 2.0.14 (2.1.1 available)

+ path_provider_android 2.0.25 (2.2.1 available)

+ path_provider_foundation 2.2.2 (2.3.1 available)

+ path_provider_linux 2.1.11 (2.2.1 available)

+ path_provider_platform_interface 2.0.6 (2.1.1 available)

+ path_provider_windows 2.1.7 (2.2.1 available)

+ pedantic 1.11.1

+ petitparser 5.4.0 (6.0.1 available)

+ photo_view 0.14.0

+ platform 3.1.3

+ plugin_platform_interface 2.1.3 (2.1.7 available)

+ pointycastle 3.7.3

+ provider 6.0.4 (6.1.1 available)

+ quiver 3.2.1

+ rfc_6901 0.1.1 (0.2.0 available)

+ rxdart 0.27.7

+ shared_preferences 2.0.15 (2.2.2 available)

+ shared_preferences_android 2.1.0 (2.2.1 available)

+ shared_preferences_ios 2.1.1 (discontinued replaced by shared_preferences_foundation)

+ shared_preferences_linux 2.2.0 (2.3.2 available)

+ shared_preferences_macos 2.0.5

+ shared_preferences_platform_interface 2.2.0 (2.3.1 available)

+ shared_preferences_web 2.1.0 (2.2.2 available)

+ shared_preferences_windows 2.2.0 (2.3.2 available)

+ sign_in_with_apple 4.3.0 (5.0.0 available)

+ sign_in_with_apple_platform_interface 1.0.0

+ sign_in_with_apple_web 1.0.1

+ sky_engine 0.0.99 from sdk flutter

+ sliver_tools 0.2.12

+ source_span 1.10.0

+ sqflite 2.2.6 (2.3.0 available)

+ sqflite_common 2.5.0+2

+ stack_trace 1.11.1

+ stream_channel 2.1.2

+ stream_transform 2.1.0

+ string_scanner 1.2.0

+ stripe_android 9.4.0 (9.5.0+1 available)

+ stripe_ios 9.4.1 (9.5.0+1 available)

+ stripe_js 3.2.0

+ stripe_platform_interface 9.4.0 (9.5.0+1 available)

+ synchronized 3.1.0

+ term_glyph 1.2.1

+ test_api 0.6.1

+ text_search 1.0.1

+ timeago 3.2.2 (3.6.0 available)

+ tuple 2.0.2

+ typed_data 1.3.2

+ universal_io 2.2.2

+ url_launcher 6.1.10 (6.2.1 available)

+ url_launcher_android 6.0.27 (6.2.0 available)

+ url_launcher_ios 6.1.4 (6.2.1 available)

+ url_launcher_linux 3.0.6 (3.1.0 available)

+ url_launcher_macos 3.0.7 (3.1.0 available)

+ url_launcher_platform_interface 2.1.2 (2.2.0 available)

+ url_launcher_web 2.1.0 (2.2.1 available)

+ url_launcher_windows 3.0.8 (3.1.0 available)

+ uuid 3.0.7 (4.2.1 available)

+ vector_math 2.1.4

+ video_player 2.6.0 (2.8.1 available)

+ video_player_android 2.4.3 (2.4.10 available)

+ video_player_avfoundation 2.4.2 (2.5.2 available)

+ video_player_platform_interface 6.1.0 (6.2.1 available)

+ video_player_web 2.0.15 (2.1.2 available)

+ vm_service 13.0.0

+ web 0.3.0 (0.4.0 available)

+ web_socket_channel 2.4.0

+ win32 3.1.4 (5.1.0 available)

+ xdg_directories 1.0.3

+ xml 6.3.0 (6.4.2 available)

+ yaml 3.1.2

Changed 182 dependencies!

1 package is discontinued.

96 packages have newer versions incompatible with dependency constraints.

Try flutter pub outdated for more information.

Upgrading .gitignore

Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:

../../../.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_widget.dart:218:42:

Error: Type 'DecoderCallback' not found.

ImageStreamCompleter load(UiImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));

^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart:32:48:

Error: Type 'DecoderCallback' not found.

ImageStreamCompleter load(BlurHashImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));

^^^^^^^^^^^^^^^

lib/pages/order_main/order_main_widget.dart:639:43:

Warning: Operand of null-aware operation '??' has type 'MouseCursor' which excludes null.

- 'MouseCursor' is from 'package:flutter/src/services/mouse_cursor.dart' ('../../../packages/flutter/lib/src/services/mouse_cursor.dart').

cursor: MouseCursor.defer ?? MouseCursor.defer,

^

lib/pages/ajanlatok/ajanlatok_widget.dart:331:37:

Warning: Operand of null-aware operation '??' has type 'MouseCursor' which excludes null.

- 'MouseCursor' is from 'package:flutter/src/services/mouse_cursor.dart' ('../../../packages/flutter/lib/src/services/mouse_cursor.dart').

cursor: MouseCursor.defer ?? MouseCursor.defer,

^

lib/pages/rendeleseim/rendeleseim_widget.dart:618:39:

Warning: Operand of null-aware operation '??' has type 'MouseCursor' which excludes null.

- 'MouseCursor' is from 'package:flutter/src/services/mouse_cursor.dart' ('../../../packages/flutter/lib/src/services/mouse_cursor.dart').

cursor: MouseCursor.defer ?? MouseCursor.defer,

^

lib/pages/dashboard/dashboard_widget.dart:1085:74:

Warning: Operand of null-aware operation '!' has type 'String' which excludes null.

.rendelesID!,

^

lib/pages/dashboard/dashboard_widget.dart:1086:76:

Warning: Operand of null-aware operation '!' has type 'String' which excludes null.

record.nev!

^

lib/pages/dashboard/dashboard_widget.dart:1218:70:

Warning: Operand of null-aware operation '!' has type 'bool' which excludes null.

_model.switchValue = newValue!);

^

lib/pages/dashboard/dashboard_widget.dart:1219:49:

Warning: Operand of null-aware operation '!' has type 'bool' which excludes null.

if (newValue!) {

^

lib/pages/dashboard/dashboard_widget.dart:2556:41:

Warning: Operand of null-aware operation '??' has type 'MouseCursor' which excludes null.

- 'MouseCursor' is from 'package:flutter/src/services/mouse_cursor.dart' ('../../../packages/flutter/lib/src/services/mouse_cursor.dart').

cursor: MouseCursor.defer ?? MouseCursor.defer,

^

lib/pages/newmenu/newmenu_widget.dart:599:41:

Warning: Operand of null-aware operation '??' has type 'MouseCursor' which excludes null.

- 'MouseCursor' is from 'package:flutter/src/services/mouse_cursor.dart' ('../../../packages/flutter/lib/src/services/mouse_cursor.dart').

cursor: MouseCursor.defer ?? MouseCursor.defer,

^

lib/pages/profilom/profilom_widget.dart:671:39:

Warning: Operand of null-aware operation '??' has type 'MouseCursor' which excludes null.

- 'MouseCursor' is from 'package:flutter/src/services/mouse_cursor.dart' ('../../../packages/flutter/lib/src/services/mouse_cursor.dart').

cursor: MouseCursor.defer ?? MouseCursor.defer,

^

../../../.pub-cache/hosted/pub.dev/carousel_slider-4.2.1/lib/carousel_slider.dart:358:33:

Warning: Operand of null-aware operation '?.' has type 'PageStorageBucket' which excludes null.

- 'PageStorageBucket' is from 'package:flutter/src/widgets/page_storage.dart' ('../../../packages/flutter/lib/src/widgets/page_storage.dart').

PageStorage.of(storageContext)?.readState(storageContext)

^

lib/actions/actions.dart:61:7:

Warning: Operand of null-aware operation '!' has type 'double' which excludes null.

price! * quantity!,

^

lib/actions/actions.dart:61:16:

Warning: Operand of null-aware operation '!' has type 'int' which excludes null.

price! * quantity!,

^

lib/actions/actions.dart:62:8:

Warning: Operand of null-aware operation '!' has type 'double' which excludes null.

(price! 1.05) quantity!,

^

lib/actions/actions.dart:62:25:

Warning: Operand of null-aware operation '!' has type 'int' which excludes null.

(price! 1.05) quantity!,

^

lib/actions/actions.dart:63:9:

Warning: Operand of null-aware operation '!' has type 'double' which excludes null.

((price! 5) / 100) quantity!,

^

lib/actions/actions.dart:63:30:

Warning: Operand of null-aware operation '!' has type 'int' which excludes null.

((price! 5) / 100) quantity!,

^

../../../.pub-cache/hosted/pub.dev/go_router-7.1.1/lib/src/route.dart:1125:28:

Warning: Operand of null-aware operation '!' has type 'String' which excludes null.

_router.go(preParsed.location!, extra: preParsed.state);

^

../../../.pub-cache/hosted/pub.dev/go_router-7.1.1/lib/src/information_provider.dart:43:34:

Warning: Operand of null-aware operation '!' has type 'String' which excludes null.

location: routeInformation.location!,

^

../../../.pub-cache/hosted/pub.dev/go_router-7.1.1/lib/src/parser.dart:68:61:

Warning: Operand of null-aware operation '!' has type 'String' which excludes null.

initialMatches = matcher.findMatch(routeInformation.location!,

^

../../../.pub-cache/hosted/pub.dev/go_router-7.1.1/lib/src/parser.dart:84:54:

Warning: Operand of null-aware operation '!' has type 'String' which excludes null.

uri: Uri.parse(canonicalUri(routeInformation.location!)),

^

../../../.pub-cache/hosted/pub.dev/go_router-7.1.1/lib/src/parser.dart:94:40:

Warning: Operand of null-aware operation '!' has type 'String' which excludes null.

Uri.parse(routeInformation.location!),

^

../../../.pub-cache/hosted/pub.dev/go_router-7.1.1/lib/src/parser.dart:98:69:

Warning: Operand of null-aware operation '!' has type 'String' which excludes null.

MatcherError('no routes for location', routeInformation.location!)

^

lib/custom_code/actions/szamlacreationweb.dart:110:40:

Warning: Operand of null-aware operation '!' has type 'String' which excludes null.

teljesitesDatum.children.add(XmlText(datum!));

^

lib/custom_code/actions/szamlacreationweb.dart:118:46:

Warning: Operand of null-aware operation '!' has type 'String' which excludes null.

fizetesiHataridoDatum.children.add(XmlText(datum!));

^

lib/custom_code/actions/reorder_firebase_items.dart:35:23:

Warning: Operand of null-aware operation '!' has type 'List<AjanlatokRecord>' which excludes null.

- 'List' is from 'dart:core'.

- 'AjanlatokRecord' is from 'package:schott_order/backend/schema/ajanlatok_record.dart' ('lib/backend/schema/ajanlatok_record.dart').

for (int i = 0; i < list!.length; i++) {

^

../../../.pub-cache/hosted/pub.dev/flutter_staggered_grid_view-0.6.2/lib/src/widgets/sliver_aligned_grid.dart:191:49:

Warning: Operand of null-aware operation '!' has type 'ScrollableState' which excludes null.

- 'ScrollableState' is from 'package:flutter/src/widgets/scrollable.dart' ('../../../packages/flutter/lib/src/widgets/scrollable.dart').

final axis = axisDirectionToAxis(Scrollable.of(context)!.axisDirection);

^

../../../.pub-cache/hosted/pub.dev/flutter_staggered_grid_view-0.6.2/lib/src/widgets/staggered_grid.dart:85:22:

Warning: Operand of null-aware operation '?.' has type 'ScrollableState' which excludes null.

- 'ScrollableState' is from 'package:flutter/src/widgets/scrollable.dart' ('../../../packages/flutter/lib/src/widgets/scrollable.dart').

Scrollable.of(context)?.axisDirection ??

^

../../../.pub-cache/hosted/pub.dev/flutter_staggered_grid_view-0.6.2/lib/src/widgets/staggered_grid.dart:101:22:

Warning: Operand of null-aware operation '?.' has type 'ScrollableState' which excludes null.

- 'ScrollableState' is from 'package:flutter/src/widgets/scrollable.dart' ('../../../packages/flutter/lib/src/widgets/scrollable.dart').

Scrollable.of(context)?.axisDirection ??

^

../../../.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_widget.dart:218:42:

Error: 'DecoderCallback' isn't a type.

ImageStreamCompleter load(UiImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));

^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart:32:48:

Error: 'DecoderCallback' isn't a type.

ImageStreamCompleter load(BlurHashImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));

^^^^^^^^^^^^^^^

Error: Compilation failed.

Command: /Users/nagybertalan/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/nagybertalan/bin/cache/dart-sdk/bin/snapshots/dart2js.dart.snapshot

--platform-binaries=/Users/nagybertalan/bin/cache/flutter_web_sdk/kernel --invoker=flutter_tool -Ddart.vm.product=true -DFLUTTER_WEB_AUTO_DETECT=true

-DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/dff66925dcfaced89a892b75a695b2d05a676c5e/ --native-null-assertions --no-source-maps -o

/Users/nagybertalan/Documents/BECSIKAPU_SCHOTT/schott_order 2/.dart_tool/flutter_build/d71326d6363e3e26f4ce43dc13b54aaa/app.dill --packages=.dart_tool/package_config.json --cfe-only

/Users/nagybertalan/Documents/BECSIKAPU_SCHOTT/schott_order 2/.dart_tool/flutter_build/d71326d6363e3e26f4ce43dc13b54aaa/main.dart

#0 RunResult.throwException (package:flutter_tools/src/base/process.dart:127:5)

#1 DefaultProcessUtils.run (package:fluttertools/src/base/process.dart:280:19)

<asynchronous suspension>

#2 Dart2JSTarget.build (package:flutter_tools/src/build_system/targets/web.dart:189:5)

<asynchronous suspension>

#3 BuildInstance.invokeInternal (package:flutter_tools/src/build_system/build_system.dart:853:9)

<asynchronous suspension>

#4 Future.wait.<anonymous closure> (dart:async/future.dart:518:21)

<asynchronous suspension>

#5 BuildInstance.invokeTarget (package:fluttertools/src/build_system/build_system.dart:791:32)

<asynchronous suspension>

#6 Future.wait.<anonymous closure> (dart:async/future.dart:518:21)

<asynchronous suspension>

#7 BuildInstance.invokeTarget (package:fluttertools/src/build_system/build_system.dart:791:32)

<asynchronous suspension>

#8 FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:620:16)

<asynchronous suspension>

#9 WebBuilder.buildWeb (package:flutter_tools/src/web/compile.dart:93:34)

<asynchronous suspension>

#10 BuildWebCommand.runCommand (package:flutter_tools/src/commands/build_web.dart:200:5)

<asynchronous suspension>

#11 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1367:27)

<asynchronous suspension>

#12 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)

<asynchronous suspension>

#13 CommandRunner.runCommand (package:args/command_runner.dart:212:13)

<asynchronous suspension>

#14 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:349:9)

<asynchronous suspension>

#15 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)

<asynchronous suspension>

#16 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:294:5)

<asynchronous suspension>

#17 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:115:9)

<asynchronous suspension>

#18 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)

<asynchronous suspension>

#19 main (package:flutter_tools/executable.dart:90:3)

<asynchronous suspension>

Compiling lib/main.dart for the Web... 11,9s

Error: Failed to compile application for the Web.

https://github.com/FlutterFlow/infinite_scroll_pagination

3
10 replies