google / closure-compiler-npm

Package for managing and documenting closure-compiler for use via npm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

google-closure-compiler-linux does not support the ARM architecture.

zjslqshqz opened this issue · comments

I want to use the native version of the command directly, but I am encountering issues with the ARM CPU.😫
I don't know if there will be support in the future. 😺

Error: Command failed: npm install google-closure-compiler-linux@20230502.0.0
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for google-closure-compiler-linux@20230502.0.0: wanted {"os":"linux","arch":"x32,x64"} (current: {"os":"linux","arch":"arm64"})
npm ERR! notsup Valid OS:    linux
npm ERR! notsup Valid Arch:  x32,x64
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: arm64

Looks like the latest version of Graal should support arm64 - https://www.graalvm.org/22.0/reference-manual/native-image/ARM64/

@ChadKillingsworth do you think this is reasonable to support?

The problem historically is that Graal doesn't support cross-compilation. So our build servers would have to offer a runner on that architecture.

It seems that the follow-up version should be able to improve this issue. Cheers!