-
Notifications
You must be signed in to change notification settings - Fork 24
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
Execution failed for platform aarch64 #148
Comments
Hi @apo1967, Thank you for raising this issue! It shall be possible to fix it quickly, since it is just a matter of resolving the Node.js distribution compatible with your workstation's architecture (ARMv8 / Aarch64). I need the following pieces of information of your Gradle project:
As a workaround, you may succeed to install Node.js with the plugin with this setting: frontend {
nodeDistributionUrlPathPattern = 'vVERSION/node-vVERSION-linux-arm64.TYPE'
} If you can try this, let me know the result! Have a nice day. |
Hi v1nc3n4, thx for the quick response. The project node version is v15.4.0. The plugin version was
I upgraded to 5.0.0, but it did not make a difference. The fix above does not help unfortunately. The error is the same. Thanks very much, |
That's perfect, thank you. |
I need your help again 😞. Can you confirm you can install and run the ARMv8 distribution of Node.js on your workstation? Unfortunately I have no option to verify this distribution on an equivalent architecture. See https://nodejs.org/en/download/ If this one is not working, you may also try the Mac OS binary (tar.gz) |
Hmm, now I have a doubt about this architecture. I thought it was simple to deal with. It seems Node.js doesn't provide a compatible build for your system. For reference: nodejs/build#2474 |
Oh... do you still need me to test the arm binaries? |
Well no, sorry for the inconvenience 😞. Node team seems to be working on it actually, I will follow closely this point and provide a new release as soon as a compatible distribution is published. |
@apo1967 |
Thx a lot, this works fine. It also speeds up the build, so it's an improvement actually. |
Also for reference: nodejs/node#37309 |
Hi all, As mentioned in Node.js 16.0.0 release notes, pre-built binaries are now available for Apple Silicon. BR |
Hi @apo1967, May I ask you to verify if release 5.1.0 allows you to install a Node.js distribution on your MBP? Thanks in advance for your help. |
Hi v1nc3n4, sorry for being late. So I upgraded to 5.1.0 and I can confirm the error "platform not supported" is gone. However unfortunately the links to the node builds seems to be broken as the build now stops with an http 404. Running the build with the "--info" option prints "[clean] Downloading distribution at 'https://nodejs.org/dist/v15.4.0/node-v15.4.0-darwin-arm64.tar.gz' |
Hi @apo1967, |
Well, it seems I don't understand what's happening under the hood. I thought the initial problem here was, that there was no M1 compatible node bundle available to pull and execute. So now that there is one, why is the plugin still using an incompatible version? Anyway, what I did now: I updated the siouan plugin version in my gradle config to 5.1.0, and I updated my local node installation to 16.1.0. Now, when I try to build my frontend app with gradle using the local node installation 16.1.0 the build runs, although now failing due to "unexpected identifier" errors on imported graphql resource files that we're no problem before. If I tell the plugin to not use the local installation, it tries to pull the above mentioned version of node.js (where I had expected it to pull the latest M1 compatible version). |
You're right until the
I didn't expect you upgrade your local installation - I mean any installation you would have done on your own, not with the plugin. I'm sorry if this is what you did. |
Ok, now I got it. I just forgot about the version number in the gradle settings. So setting this to 16.1.0 the build runs! |
Thank you very much again for your help on this issue. Have a good day! |
* Fixed line endings. * Fixed Gradle Wrapper mode. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed sitemap. * Fixed test coverage reporting. * Fixed website issues. * Before merging branch 4.0-jdk11. * Added website publication. * Updated sitemap. * Fixed invalid SpringBoot version number in examples * Initialized release 5.0.1. * Fixed #153 (#154) (#155) * Fixed #152 (#156) * Added contributor. * Merged fix for #149 (#157) * Upgraded to Gradle 6.8.3. * Updated website. * Initialized release 5.1.0. * Fixed #148 (#159) * Merged changes from branch 5.1-jdk8. * Initialized release 5.2.0. * Fixed #161 (#163) * Merged changes from branch 5.2-jdk8. * Merged changes from branch master. * Updated documentation. * Initialized release 5.3.0. * Fixed #165 (#166) * Added FAQ section. * Fixed page title * chore(release): release 7.0.0 * doc: fixed website publication [skip ci] * docs: fix web page metadata * docs: fix web page metadata * docs: add links to released artifacts, fix descriptions for examples [skip ci] * docs: fix website publication [skip ci] * docs: add missing component import [skip ci] * add retry mechanism to downloads --------- Co-authored-by: Vincent Bories-Azeau <5869062+vboriesazeau@users.noreply.github.com> Co-authored-by: Vincent BA <5869062+v1nc3n4@users.noreply.github.com> Co-authored-by: Jean Detoeuf <Jean.Detoeuf1@ibm.com>
* add retry mechanism to downloads (#200) * Fixed line endings. * Fixed Gradle Wrapper mode. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed sitemap. * Fixed test coverage reporting. * Fixed website issues. * Before merging branch 4.0-jdk11. * Added website publication. * Updated sitemap. * Fixed invalid SpringBoot version number in examples * Initialized release 5.0.1. * Fixed #153 (#154) (#155) * Fixed #152 (#156) * Added contributor. * Merged fix for #149 (#157) * Upgraded to Gradle 6.8.3. * Updated website. * Initialized release 5.1.0. * Fixed #148 (#159) * Merged changes from branch 5.1-jdk8. * Initialized release 5.2.0. * Fixed #161 (#163) * Merged changes from branch 5.2-jdk8. * Merged changes from branch master. * Updated documentation. * Initialized release 5.3.0. * Fixed #165 (#166) * Added FAQ section. * Fixed page title * chore(release): release 7.0.0 * doc: fixed website publication [skip ci] * docs: fix web page metadata * docs: fix web page metadata * docs: add links to released artifacts, fix descriptions for examples [skip ci] * docs: fix website publication [skip ci] * docs: add missing component import [skip ci] * add retry mechanism to downloads --------- Co-authored-by: Vincent Bories-Azeau <5869062+vboriesazeau@users.noreply.github.com> Co-authored-by: Vincent BA <5869062+v1nc3n4@users.noreply.github.com> Co-authored-by: Jean Detoeuf <Jean.Detoeuf1@ibm.com> * feat: add support for retryable download of Node.js distribution Fixes #201 --------- Co-authored-by: Jean Detoeuf <jean.detoeuf@instana.com> Co-authored-by: Vincent Bories-Azeau <5869062+vboriesazeau@users.noreply.github.com> Co-authored-by: Jean Detoeuf <Jean.Detoeuf1@ibm.com>
* build: initialize JDK 17 build * fix: remove Gradle Enterprise test distribution * refactor: move immutable classes to records * doc: fix minor documentation issues [skip ci] * refactor: renamed default branch * docs: merge latest documentation updates from main branch [skip ci] * chore(release): initialize release 7.1.0 * feat: add support of Node.js distribution for Linux ARM64 architectures (#199) Fixes #190 * feat: add support for retryable download of Node.js distribution (#202) * add retry mechanism to downloads (#200) * Fixed line endings. * Fixed Gradle Wrapper mode. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed sitemap. * Fixed test coverage reporting. * Fixed website issues. * Before merging branch 4.0-jdk11. * Added website publication. * Updated sitemap. * Fixed invalid SpringBoot version number in examples * Initialized release 5.0.1. * Fixed #153 (#154) (#155) * Fixed #152 (#156) * Added contributor. * Merged fix for #149 (#157) * Upgraded to Gradle 6.8.3. * Updated website. * Initialized release 5.1.0. * Fixed #148 (#159) * Merged changes from branch 5.1-jdk8. * Initialized release 5.2.0. * Fixed #161 (#163) * Merged changes from branch 5.2-jdk8. * Merged changes from branch master. * Updated documentation. * Initialized release 5.3.0. * Fixed #165 (#166) * Added FAQ section. * Fixed page title * chore(release): release 7.0.0 * doc: fixed website publication [skip ci] * docs: fix web page metadata * docs: fix web page metadata * docs: add links to released artifacts, fix descriptions for examples [skip ci] * docs: fix website publication [skip ci] * docs: add missing component import [skip ci] * add retry mechanism to downloads --------- Co-authored-by: Vincent Bories-Azeau <5869062+vboriesazeau@users.noreply.github.com> Co-authored-by: Vincent BA <5869062+v1nc3n4@users.noreply.github.com> Co-authored-by: Jean Detoeuf <Jean.Detoeuf1@ibm.com> * feat: add support for retryable download of Node.js distribution Fixes #201 --------- Co-authored-by: Jean Detoeuf <jean.detoeuf@instana.com> Co-authored-by: Vincent Bories-Azeau <5869062+vboriesazeau@users.noreply.github.com> Co-authored-by: Jean Detoeuf <Jean.Detoeuf1@ibm.com> * chore(deps): upgrade dependencies (#203) * fix: fix code quality issue * docs: update installNode task description and sitemap [skip ci] * feat: backport changes from branch 7.1-jdk17 --------- Co-authored-by: Jean Detoeuf <jean.detoeuf@instana.com> Co-authored-by: Vincent Bories-Azeau <5869062+vboriesazeau@users.noreply.github.com> Co-authored-by: Jean Detoeuf <Jean.Detoeuf1@ibm.com>
* Fixed line endings. * Fixed Gradle Wrapper mode. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed website code tabs. * Fixed sitemap. * Fixed test coverage reporting. * Fixed website issues. * Before merging branch 4.0-jdk11. * Added website publication. * Updated sitemap. * Fixed invalid SpringBoot version number in examples * Initialized release 5.0.1. * Fixed #153 (#154) (#155) * Fixed #152 (#156) * Added contributor. * Merged fix for #149 (#157) * Upgraded to Gradle 6.8.3. * Updated website. * Initialized release 5.1.0. * Fixed #148 (#159) * Merged changes from branch 5.1-jdk8. * Initialized release 5.2.0. * Fixed #161 (#163) * Merged changes from branch 5.2-jdk8. * Merged changes from branch master. * Updated documentation. * Initialized release 5.3.0. * Fixed #165 (#166) * Added FAQ section. * Fixed page title * chore(release): release 7.0.0 * doc: fixed website publication [skip ci] * docs: fix web page metadata * docs: fix web page metadata * docs: add links to released artifacts, fix descriptions for examples [skip ci] * docs: fix website publication [skip ci] * docs: add missing component import [skip ci] * chore(release): release 8.0.0 * docs: temporary reverted previous release documentation * docs: fixed website generation * docs: fixed invalid dependency for v7 * docs: fix sitemap and canonical URLs for SEO [skip ci] (#234) * feat: resolve win-arm64 (#249) --------- Co-authored-by: Vincent Bories-Azeau <5869062+vboriesazeau@users.noreply.github.com> Co-authored-by: Vincent BA <5869062+v1nc3n4@users.noreply.github.com>
Hi everyone,
first of all thx for this great plugin.
I just tried to build my current project on my new MBP with M1 chip. It's a multi module Gradle projects containing a Spring Boot backend and Vue.js 2 frontend module. Unfortunately the build fails with the following error:
FAILURE: Build failed with an exception.
OS Mac Os X Big Sur 11.2
Gradle Version 6.7.1
Java Version
Is there any chance this will be gonna be fixed soon?
Cheers,
Alexander
The text was updated successfully, but these errors were encountered: