closure-compiler-npm: google-closure-compiler-osx crashes on Ventura
npm run build:compiled in Blockly, which depends on Closure, is failing on a macOS Ventura machine with the following output:
[15:02:04] Using gulpfile ~/Developer/blockly/gulpfile.js
[15:02:04] Starting 'buildCompiled'...
[15:02:06] gulp-google-closure-compiler: Error writing to stdin of the compiler. write EPIPE
[15:02:06] 'buildCompiled' errored after 2.09 s
[15:02:06] Error in plugin 'gulp-google-closure-compiler'
Message:
Compilation errors occurred
Details:
domainEmitter: [object Object]
domainThrown: false
This causes a crashlog (attached) for the google-closure-compiler-osx binary to be generated, and running ./compiler directly fails with fish: Job 1, './compiler' terminated by signal SIGSEGV (Address boundary error) and an accompanying crashlog.
compiler-2022-10-28-150211.txt
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 18
Fixed by #274
I created a patch release for this.