node-gradle / node-gradle/gradle-node-plugin

Support for Apple Silicons architecture aarch64/arm64

Open
#154 34 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

workaround exists
Dominant language
Groovy
Stars
677
Forks
120
PR merge metrics
No merged PRs in 30d

Description

When building modules using gradle-node-plugin I do get:

Could not find org.nodejs:node:12.18.4.
Searched in the following locations:
- https://jcenter.bintray.com/org/nodejs/node/12.18.4/node-12.18.4.pom
- https://repo.maven.apache.org/maven2/org/nodejs/node/12.18.4/node-12.18.4.pom
- https://nodejs.org/dist/v12.18.4/node-v12.18.4-darwin-arm64.tar.gz

Enviroment:

  • gradle version 6.8.1
  • gradle-node-plugin 3.0.1
  • OpenJDK Runtime Environment Zulu11.45+27-CA (build 11.0.10+9-LTS)

Any plans to incorporate aarch64/arm64 support in upcoming releases?
Or
Any ideas on how to enforce a download for ~x64 versions of node (which will run in rosetta2-comp mode)?

Thanks a lot.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with Gradle 6.8.1, gradle-node-plugin 3.0.1, OpenJDK 11, and an Apple Silicon environment. Trace how the plugin selects the Node.js download URL and platform, then verify that arm64 downloads resolve or that an x64 download can be selected for Rosetta 2; done means a module build succeeds on Apple Silicon.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, node.js
Domain
build-system, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.