Skip to content

dart compile js fails with the newest SDK #56087

Closed
@srujzs

Description

@srujzs

Dart SDK version: 3.5.0-edge.21ee651cc4ed07e5729d727dfbd5f15498bc31fd (main) (Wed Jun 26 10:35:50 2024 -0700) on "macos_arm64"

Compiling any Dart file with dart compile js leads to:

vm-service: Error: Unhandled exception:
ProcessException: No such file or directory
  Command: ./dart development-service --vm-service-uri=http://127.0.0.1:58929/_EgWJOd0pEo=/ --bind-address=localhost --bind-port=0 --serve-devtools
#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:402:33)
#1      Process.start (dart:io-patch/process_patch.dart:38:20)
#2      _DebuggingSession.start (dart:vmservice_io:104:30)
#3      _toggleWebServer.<anonymous closure> (dart:vmservice_io:324:28)
<asynchronous suspension>
#4      _toggleWebServer (dart:vmservice_io:321:5)
<asynchronous suspension>
#5      webServerControlCallback (dart:vmservice_io:341:5)
<asynchronous suspension>
#6      VMService._serverMessageHandler (dart:_vmservice:410:21)
<asynchronous suspension>

Reverting https://dart-review.googlesource.com/c/sdk/+/366560 fixes the issue. cc @bkonyi

Metadata

Metadata

Assignees

Labels

P0A serious issue requiring immediate resolutionarea-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.dart-cli-compileIssues related to the 'dart compile' tool

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions