Compilation Error during web publishing #55563
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
closed-duplicate
Closed in favor of an existing report
web-js-interop
Issues that impact all js interop
OS - Windows 11
Flutter version - 3.19.1
Cause:- Compilation error during web publishing (working fine for Android devices)
This is a little urgent as I have to start user testing the app via the web before the deployment to playstore and appstore
Error below
Error: Command failed: flutter build web --web-renderer html --no-pub --no-version-check --no-tree-shake-icons
Target dart2js failed: ProcessException: Process exited abnormally with exit code 253:
/opt/.pub-cache/hosted/pub.dev/sensors_plus-5.0.1/lib/src/web_sensors_interop.dart:76:20:
Internal Error: Unknown external method j:method(SensorOptions|constructor#)
external factory SensorOptions({
^
The compiler is broken.
When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.
The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.
Please include the following information:
the name and version of your operating system,
the Dart SDK build number (3.3.0), and
the entire message you see here (including the full stack trace
below as well as the source location above).
Error: Failed to compile application for the Web.
The text was updated successfully, but these errors were encountered: