Skip to content

Failed to compile application for the Web. #6966

@fiveminutejob

Description

@fiveminutejob

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Since latest update Local Run cannot build due to - Error: Couldn't resolve the package 'pointer_interceptor_web' in 'package:pointer_interceptor_web/pointer_interceptor_web.dart'.
.dart_tool/flutter_build/3023908336cdcbf1c6ce8844d4f6d904/web_plugin_registrant.dart:18:8: Error: Not found: 'package:pointer_interceptor_web/pointer_interceptor_web.dart'
import 'package:pointer_interceptor_web/pointer_interceptor_web.dart';

Expected Behavior

Build as per 5 minutes before the latest update.

Steps to Reproduce

Just use flutterflow

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4glcmAuItIrt9G7aX6bu9VqycUOUw/UK00sNobbxAjIoDoPJkUacnRMxdBXf2rT29XKEWKkTsy3MGNhYfxNcBfAxesRa4+zJBuejvJRTm/aoSkDM+WP0d9Ed5XGkyh36aFpyR/JbdpLlI6w2WMBd6sQT7XQaH6Zwh9f6PHaOI=

Visual documentation

Resolving dependencies...
Downloading packages...
_flutterfire_internals 1.3.56 (1.3.67 available)
archive 3.6.1 (4.0.9 available)
characters 1.4.0 (1.4.1 available)
cloud_firestore 5.6.9 (6.1.3 available)
cloud_firestore_platform_interface 6.6.9 (7.0.7 available)
cloud_firestore_web 4.4.9 (5.1.3 available)
crypto 3.0.6 (3.0.7 available)
! device_info_plus 11.5.0 (overridden) (12.3.0 available)
! device_info_plus_platform_interface 7.0.3 (overridden)
dio 5.8.0+1 (5.9.2 available)
dio_web_adapter 2.1.1 (2.1.2 available)
dropdown_button2 2.3.9 (3.0.0 available)
easy_debounce 2.0.1 (2.0.3 available)
equatable 2.0.7 (2.0.8 available)
extension 0.6.0 (1.0.0 available)
fetch_api 2.2.0 (2.3.1 available)
fetch_client 1.1.2 (1.2.0 available)
ffi 2.1.4 (2.2.0 available)
file_saver 0.2.14 (0.3.1 available)
firebase_analytics 11.5.0 (12.1.3 available)
firebase_analytics_platform_interface 4.4.0 (5.0.7 available)
firebase_analytics_web 0.5.10+13 (0.6.1+3 available)
firebase_auth 5.6.0 (6.2.0 available)
firebase_auth_platform_interface 7.7.0 (8.1.7 available)
firebase_auth_web 5.15.0 (6.1.3 available)
firebase_core 3.14.0 (4.5.0 available)
firebase_core_platform_interface 5.4.0 (6.0.2 available)
firebase_core_web 2.23.0 (3.5.0 available)
firebase_performance 0.10.1+7 (0.11.1+5 available)
firebase_performance_platform_interface 0.1.5+7 (0.1.6+5 available)
firebase_performance_web 0.1.7+13 (0.1.8+3 available)
flutter_animate 4.5.0 (4.5.2 available)
flutter_launcher_icons 0.13.1 (0.14.4 available)
flutter_lints 4.0.0 (6.0.0 available)
flutter_map 8.1.1 (8.2.2 available)
flutter_native_splash 2.4.1 (2.4.7 available)
font_awesome_flutter 10.7.0 (10.12.0 available)
go_router 12.1.3 (17.1.0 available)
google_fonts 6.3.3 (8.0.2 available)
google_sign_in 6.3.0 (7.2.0 available)
google_sign_in_android 6.2.1 (7.2.9 available)
google_sign_in_ios 5.9.0 (6.3.0 available)
google_sign_in_platform_interface 2.5.0 (3.1.0 available)
google_sign_in_web 0.12.4+4 (1.1.2 available)
! http 1.4.0 (overridden) (1.6.0 available)
image 4.2.0 (4.8.0 available)
internet_file 1.2.0 (1.3.0 available)
! intl 0.20.2 (overridden)
iregexp 0.1.2 (0.2.0 available)
json_annotation 4.9.0 (4.11.0 available)
json_path 0.7.2 (0.9.0 available)
lints 4.0.0 (6.1.0 available)
logger 2.6.0 (2.6.2 available)
matcher 0.12.17 (0.12.19 available)
material_color_utilities 0.11.1 (0.13.0 available)
maybe_just_nothing 0.5.3 (0.6.0 available)
meta 1.17.0 (1.18.1 available)
mgrs_dart 2.0.0 (3.0.0 available)
mime 1.0.4 (2.0.0 available)
mime_type 1.0.0 (1.0.1 available)
page_transition 2.1.0 (2.2.1 available)
path_provider 2.1.4 (2.1.5 available)
path_provider_android 2.2.10 (2.2.22 available)
path_provider_foundation 2.4.0 (2.6.0 available)
percent_indicator 4.2.2 (4.2.5 available)
petitparser 6.1.0 (7.0.2 available)
proj4dart 2.1.0 (3.0.0 available)
provider 6.1.5 (6.1.5+1 available)
rfc_6901 0.2.0 (0.2.1 available)
rxdart 0.27.7 (0.28.0 available)
shared_preferences 2.5.3 (2.5.4 available)
shared_preferences_android 2.4.10 (2.4.21 available)
shared_preferences_foundation 2.5.4 (2.5.6 available)
simple_gradient_text 1.2.3 (1.4.0 available)
source_span 1.10.1 (1.10.2 available)
sqflite 2.3.3+1 (2.4.2 available)
sqflite_common 2.5.4+3 (2.5.6 available)
stream_transform 2.1.0 (2.1.1 available)
test_api 0.7.7 (0.7.10 available)
text_search 1.0.1 (1.0.2 available)
unicode 0.3.1 (1.1.9 available)
universal_io 2.2.2 (2.3.1 available)
url_launcher 6.3.1 (6.3.2 available)
url_launcher_android 6.3.16 (6.3.28 available)
url_launcher_ios 6.3.3 (6.4.1 available)
url_launcher_linux 3.2.1 (3.2.2 available)
url_launcher_macos 3.2.2 (3.2.5 available)
url_launcher_web 2.4.1 (2.4.2 available)
url_launcher_windows 3.1.4 (3.1.5 available)
! uuid 4.5.1 (overridden) (4.5.3 available)
vm_service 15.0.0 (15.0.2 available)
win32 5.14.0 (6.0.0 available)
win32_registry 2.1.0 (3.0.2 available)
xml 6.5.0 (6.6.1 available)
Got dependencies!
92 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.
Launching lib\main.dart on Chrome in debug mode...
Upgrading .gitignore
Compiling lib\main.dart for the Web...
Target dart2wasm failed: ProcessException: Process exited abnormally with exit code 254:
Error: Couldn't resolve the package 'pointer_interceptor_web' in 'package:pointer_interceptor_web/pointer_interceptor_web.dart'.
.dart_tool/flutter_build/3023908336cdcbf1c6ce8844d4f6d904/web_plugin_registrant.dart:18:8: Error: Not found: 'package:pointer_interceptor_web/pointer_interceptor_web.dart'
import 'package:pointer_interceptor_web/pointer_interceptor_web.dart';
^
.dart_tool/flutter_build/3023908336cdcbf1c6ce8844d4f6d904/web_plugin_registrant.dart:35:3: Error: Undefined name 'PointerInterceptorWeb'.
PointerInterceptorWeb.registerWith(registrar);
^^^^^^^^^^^^^^^^^^^^^
../../../../Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.2/lib/src/renderer/web/pdfjs.dart:136:12: Warning: Initializers for parameters are ignored on static interop external functions.
Declare a forwarding non-external function with this initializer, or remove the initializer.
double offsetX = 0,
^
../../../../Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.2/lib/src/renderer/web/pdfjs.dart:137:12: Warning: Initializers for parameters are ignored on static interop external functions.
Declare a forwarding non-external function with this initializer, or remove the initializer.
double offsetY = 0,
^
../../../../Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.2/lib/src/renderer/web/pdfjs.dart:138:10: Warning: Initializers for parameters are ignored on static interop external functions.
Declare a forwarding non-external function with this initializer, or remove the initializer.
bool dontFlip = false,
^
../../../../Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.2/lib/src/renderer/web/pdfjs.dart:205:12: Warning: Initializers for parameters are ignored on static interop external functions.
Declare a forwarding non-external function with this initializer, or remove the initializer.
String intent = 'display',
^
../../../../Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.2/lib/src/renderer/web/pdfjs.dart:206:10: Warning: Initializers for parameters are ignored on static interop external functions.
Declare a forwarding non-external function with this initializer, or remove the initializer.
bool enableWebGL = false,
^
../../../../Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.2/lib/src/renderer/web/pdfjs.dart:207:10: Warning: Initializers for parameters are ignored on static interop external functions.
Declare a forwarding non-external function with this initializer, or remove the initializer.
bool renderInteractiveForms = false,
^
Command: C:\Users\PJ\AppData\Roaming\FlutterFlow\flutterflow\flutter\bin\cache\dart-sdk\bin\dart.exe compile wasm --packages=C:\Users\PJ\AppData\Roaming\FlutterFlow\flutterflow\c_o_r_e_system.dart_tool\package_config.json --extra-compiler-option=--platform=C:\Users\PJ\AppData\Roaming\FlutterFlow\flutterflow\flutter\bin\cache\flutter_web_sdk\kernel\dart2wasm_platform.dill -Ddart.vm.profile=false -Ddart.vm.product=false --extra-compiler-option=--import-shared-memory --extra-compiler-option=--shared-memory-max-pages=32768 -DFLUTTER_VERSION=3.38.5 -DFLUTTER_CHANNEL=[user-branch] -DFLUTTER_GIT_URL=unknown source -DFLUTTER_FRAMEWORK_REVISION=f6ff1529fd -DFLUTTER_ENGINE_REVISION=1527ae0ec5 -DFLUTTER_DART_VERSION=3.10.4 -DFLUTTER_WEB_USE_SKIA=false -DFLUTTER_WEB_USE_SKWASM=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/1527ae0ec577a4ef50e65f6fefcfc1326707d9bf/ --extra-compiler-option=--depfile=C:\Users\PJ\AppData\Roaming\FlutterFlow\flutterflow\c_o_r_e_system.dart_tool\flutter_build\3023908336cdcbf1c6ce8844d4f6d904\dart2wasm.d -O0 --no-strip-wasm --no-minify --extra-compiler-option=--enable-asserts -o C:\Users\PJ\AppData\Roaming\FlutterFlow\flutterflow\c_o_r_e_system.dart_tool\flutter_build\3023908336cdcbf1c6ce8844d4f6d904\main.dart.wasm C:\Users\PJ\AppData\Roaming\FlutterFlow\flutterflow\c_o_r_e_system.dart_tool\flutter_build\3023908336cdcbf1c6ce8844d4f6d904\main.dart
#0 RunResult.throwException (package:flutter_tools/src/base/process.dart:153:5)
#1 _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart:379:19)

#2 Dart2WasmTarget.build (package:flutter_tools/src/build_system/targets/web.dart:360:33)

#3 _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:895:9)

#4 Future.wait. (dart:async/future.dart:546:21)

#5 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:833:32)

#6 Future.wait. (dart:async/future.dart:546:21)

#7 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:833:32)

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

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

#10 ResidentWebRunner.run. (package:flutter_tools/src/isolated/resident_web_runner.dart:343:11)

#11 asyncGuard. (package:flutter_tools/src/base/async_guard.dart:108:24)

Compiling lib\main.dart for the Web... 91.2s
Error: Failed to compile application for the Web.

Environment

- FlutterFlow version: Latest
- Platform: Windows
- Browser name and version: N/A
- Operating system and version affected: Win11

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions