Skip to content

Dart error #60233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Agovvvvv opened this issue Mar 1, 2025 · 1 comment
Closed

Dart error #60233

Agovvvvv opened this issue Mar 1, 2025 · 1 comment
Labels
area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.

Comments

@Agovvvvv
Copy link

Agovvvvv commented Mar 1, 2025

Target dart2js failed: ProcessException: Process exited abnormally with exit
code 253:
.dart_tool/flutter_build/fdf90dad18159a1a419a8059c40ab1e1/app.dill:
Internal Error: The compiler crashed when compiling this element.
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.7.0), and

  • the entire message you see here (including the full stack trace
    below as well as the source location above).

The compiler crashed: Error reading
'.dart_tool/flutter_build/fdf90dad18159a1a419a8059c40ab1e1/app.dill' (No such
file or directory)
Command:
/opt/homebrew/Caskroom/flutter/3.27.1/flutter/bin/cache/dart-sdk/bin/dart
compile js
--platform-binaries=/opt/homebrew/Caskroom/flutter/3.27.1/flutter/bin/cache/fl
utter_web_sdk/kernel --invoker=flutter_tool -Ddart.vm.product=true
-DFLUTTER_WEB_USE_SKIA=true -DFLUTTER_WEB_USE_SKWASM=false
-DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/f73bfc45
22dd0bc87bbcdb4bb3088082755c5e87/ --native-null-assertions --no-source-maps
-O4 -o /Users/nick/Desktop/Agov
Intelligence/tictactoe/.dart_tool/flutter_build/fdf90dad18159a1a419a8059c40ab1
e1/main.dart.js /Users/nick/Desktop/Agov
Intelligence/tictactoe/.dart_tool/flutter_build/fdf90dad18159a1a419a8059c40ab1
e1/app.dill

@lrhn lrhn added the area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop. label Mar 2, 2025
@sigmundch
Copy link
Member

I believe this to be a duplicate of #55096

As I mentioned there, I think something else in the tooling is hiding the original error. If the input you are using is something you can share publicly or something you can reduce to a repro, that would be super helpful!

For now, I'll close this issue and merge with the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.
Projects
None yet
Development

No branches or pull requests

3 participants