Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google closure compiler exit code 3221225781 #374

Open
tarsinzer opened this issue May 2, 2020 · 5 comments
Open

Google closure compiler exit code 3221225781 #374

tarsinzer opened this issue May 2, 2020 · 5 comments

Comments

@tarsinzer
Copy link

tarsinzer commented May 2, 2020

What's the issue?

Failed compilation on my windows laptop

How do we reproduce the issue?

  1. git clone --recursive https://github.com/maktarsis/monoreact.git
  2. npx yarn install
  3. cd example-app/packages/example
  4. npm run build

We'll likely need to know:

  1. Your Rollup configuration.
    https://github.com/maktarsis/monoreact/blob/master/cli/src/bin/execution/configs/build.config.ts

  2. 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)
  1. Error logs when this plugin is removed from your Rollup configuration.
    No errors. Just a message Compiled in ....s

Additional context

  1. Node 13.13.0
  2. Windows

Although, it works great, as usual, on my mac laptop.

@tarsinzer
Copy link
Author

It seems to me that this is some kind of problem with the environment.
Can you tell me what the problem is?

@tarsinzer tarsinzer changed the title Google closure compiler exit 3221225781 Google closure compiler exit code 3221225781 May 2, 2020
@kristoferbaxter
Copy link
Contributor

Apologies for delays looking into this. I’m out on paternity leave, but will try to address as soon as I can.

@tarsinzer
Copy link
Author

Thanks @kristoferbaxter
I will be happy for help with this

@ghost
Copy link

ghost commented Jul 16, 2020

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

@DVLP
Copy link

DVLP commented Dec 25, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants