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

Plugin Downloads x86 Version of node on aarch64 #1154

Open
suddendust opened this issue Jun 11, 2024 · 2 comments
Open

Plugin Downloads x86 Version of node on aarch64 #1154

suddendust opened this issue Jun 11, 2024 · 2 comments

Comments

@suddendust
Copy link

Do you want to request a feature or report a bug?
bug

What is the current behavior?
I have a dependency on frontend-maven-plugin in my application which is defined as:

      <plugin>
        <groupId>com.github.eirslett</groupId>
        <artifactId>frontend-maven-plugin</artifactId>
        <version>1.15.0</version>
      </plugin>

I am doing a maven build with the following command:
mvn clean install -Dcheckstyle.skip -Dlicense.skip -Dmaven.test.skip=true -Dos.arch=aarch_64 -Pbin-dist -T 1C -U

The build is failing as the plugin seems to be downloading the x86 binary:

[INFO] Downloading https://nodejs.org/dist/v16.15.0/node-v16.15.0-linux-x64.tar.gz to /root/.m2/repository/com/github/eirslett/node/16.15.0/node-16.15.0-linux-x64.tar.gz

[INFO] Running 'npm ci' in /home/pinot/pinot/pinot-controller/src/main/resources
[INFO] /home/pinot/pinot/pinot-controller/target/node/node: 1: �ELF: not found
[INFO] /home/pinot/pinot/pinot-controller/target/node/node: 2: Syntax error: word unexpected (expecting ")")

If the current behavior is a bug, please provide the steps to reproduce.
Checkout https://github.com/apache/pinot on an arm64 machine and run the command above.

What is the expected behavior?
It should download the correct node executable for arm64.

Please mention your frontend-maven-plugin and operating system version.
OS: linux-aarch65
Plugin version: 1.15.0

@suddendust
Copy link
Author

There was an earlier issue on this but it was closed without a resolution: #884

@mamccorm
Copy link

+1 for a resolution here

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

2 participants