Google closure compiler exit code 3221225781
What's the issue?
Failed compilation on my windows laptop
How do we reproduce the issue?
- git clone --recursive https://github.com/maktarsis/monoreact.git
- npx yarn install
- cd example-app/packages/example
- npm run build
We'll likely need to know:
-
Your Rollup configuration. https://github.com/maktarsis/monoreact/blob/master/cli/src/bin/execution/configs/build.config.ts
-
Error logs from your console when invoking Rollup with this plugin present.
(node:8272) UnhandledPromiseRejectionWarning: Error: Google Closure Compiler exit 3221225781: C:\Users\User\projects\monoreact\node_modules\google-closure
-compiler-windows\compiler.exe --language_out=NO_TRANSPILE --assume_function_wrapper=true --warning_level=QUIET --module_resolution=NODE --externs=C:\Users
\User\AppData\Local\Temp\bbd497ba00bfe80e732c9c0fdaff6eeb983c673d --externs=C:\Users\User\AppData\Local\Temp\8c3566123fa544be89f47cd1c76300842e98aa6f -
-js=C:\Users\User\AppData\Local\Temp\6cacadce9eff1166f9a4ca7149881f04cecf9ead --create_source_map=C:\Users\User\AppData\Local\Temp\0504c11f-3004-45c8-8
35e-b44622180c98
Stack trace:
at C:\Users\name\projects\monoreact\node_modules\@ampproject\rollup-plugin-closure-compiler\dist\index.js:1572:24
at ChildProcess.<anonymous> (C:\Users\name\projects\monoreact\node_modules\google-closure-compiler\lib\node\closure-compiler.js:103:9)
at ChildProcess.emit (events.js:315:20)
- Error logs when this plugin is removed from your Rollup configuration.
No errors. Just a message
Compiled in ....s
Additional context
- Node 13.13.0
- Windows
Although, it works great, as usual, on my mac laptop.
It seems to me that this is some kind of problem with the environment. Can you tell me what the problem is?
Apologies for delays looking into this. I’m out on paternity leave, but will try to address as soon as I can.
Thanks @kristoferbaxter I will be happy for help with this
I'm having the exact same problem, i tried searching for a solution, but looks like this is the only place who has any information about this issue
Just encountered the same problem. I have multiple projects and I noticed that some exit with this code. I'm not using this plugin just google-closure-compiler directly. It looks like old google-closure-compiler is not working well with Node 13. Newer versions of gcc package work well