Created
June 21, 2022 02:35
-
-
Save ailabs-software/fbdbea61e2c8999d745feab4264770ab to your computer and use it in GitHub Desktop.
Trying to send dart compile js output to stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% dart compile js web/main.dart -o /dev/stdout --no-source-maps | |
Almost works, but at the end there is an error: | |
if (typeof dartMainRunner === "function") | |
dartMainRunner(callMain, []); | |
else | |
callMain([]); | |
}); | |
})(); | |
The compiler crashed: FileSystemException: Cannot create file, path = '/dev/stdout.deps' (OS Error: Operation not permitted, errno = 1) | |
#0 _File.throwIfError (dart:io/file_impl.dart:635:7) | |
#1 _File.createSync (dart:io/file_impl.dart:273:5) | |
#2 writeString (package:compiler/src/dart2js.dart:1095:39) | |
#3 compile.compilationDone (package:compiler/src/dart2js.dart:907:5) | |
<asynchronous suspension> | |
#4 main (package:compiler/src/dart2js.dart:1373:3) | |
<asynchronous suspension> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment