Closed
Description
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