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

x86_64 being added to artifact so node cant be found in repo. #3798

Closed
nathanbrinqa opened this issue Mar 24, 2022 · 2 comments
Closed

x86_64 being added to artifact so node cant be found in repo. #3798

nathanbrinqa opened this issue Mar 24, 2022 · 2 comments
Labels

Comments

@nathanbrinqa
Copy link

Details

I am unable to build my app with node, I believe it has something to do with x86_64 being added to the artifact.

Node.js version

Not applicable.

Example code

  > Task :my-app:nodeSetup FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':my-app:nodeSetup'.
> Could not resolve all files for configuration ':my-app:detachedConfiguration22'.
   > Could not find node-16.4.0-darwin-x86_64.tar.gz (org.nodejs:node:16.4.0).
     Searched in the following locations:
         https://nodejs.org/dist/v16.4.0/node-v16.4.0-darwin-x86_64.tar.gz

The error i am getting.

Operating system

macOS
monterey
M1 chip

Scope

runtime.

Module and version

16.14.0

@CrlsMrls
Copy link

CrlsMrls commented Jun 22, 2022

This problem comes from Gradle plugin, it was resolving incorrectly the version because the uname command was returning inconsistent results. After specifying the latest Gradle plugin version 3.3.0, my problem was resolved.

buildscript {
    dependencies {
        classpath 'com.github.node-gradle:gradle-node-plugin:3.3.0'
    }
}

For more info check the pull node-gradle/gradle-node-plugin#204

Copy link

github-actions bot commented May 8, 2024

It seems there has been no activity on this issue for a while, and it is being closed in 30 days. If you believe this issue should remain open, please leave a comment.
If you need further assistance or have questions, you can also search for similar issues on Stack Overflow.
Make sure to look at the README file for the most updated links.

@github-actions github-actions bot added the stale label May 8, 2024
@RedYetiDev RedYetiDev closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants