google / closure-compiler

A JavaScript checker and optimizer.
https://developers.google.com/closure/compiler/
Apache License 2.0
7.31k stars 1.15k forks source link

Google Closure Compiler on Mac with M3 chip #4146

Open ssg3d opened 5 months ago

ssg3d commented 5 months ago

I use Multipass to run an Ubuntu 22.04 VM on the Mac with an Apple M3 Pro chip. From within my Ubuntu VM, I install the Google Closure Compiler by sudo npm install -g google-closure-compiler. It gets installed, but running it does nothing. e.g., invoking google-closure-compiler without any params should make it read the stdin, but it simply exits. Any other argument like google-closure-compiler abc xyz also exits without any errors reported. Am not sure if this is the VM's issue, but everything else installs and runs fine, so am filing this one here.

ssg3d commented 4 months ago

Any one looking at this?

ssg3d commented 4 months ago

I also filed https://github.com/google/closure-compiler-npm/issues/301 as it may specifically be an npm based Google Closure Compiler issue.