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

Build ERROR:Could not resolve org.nodejs:node:8.10.0 #3310

Open
xsmyqf opened this issue Jun 29, 2023 · 4 comments
Open

Build ERROR:Could not resolve org.nodejs:node:8.10.0 #3310

xsmyqf opened this issue Jun 29, 2023 · 4 comments

Comments

@xsmyqf
Copy link

xsmyqf commented Jun 29, 2023

when I try to build azkaban,an error occursed:
image

I try to visit https://nodejs.org/dist/v8.10.0/ivy.xml but got 404 response.

@astrapotro
Copy link

Same error in here, azkaban doesn't compile @azkaban-ci @tsangz2013 !

imagen
It seems that something has been moved in nodejs ore something

@lalapalooza
Copy link

中国可以换成镜像地址: https://mirrors.tuna.tsinghua.edu.cn/nodejs-release, 或者本地安装nodejs

@Ansen
Copy link

Ansen commented Jan 5, 2024

same error in github action

 * What went wrong:
Execution failed for task ':azkaban-web-server:nodeSetup'.
> Could not resolve all files for configuration ':azkaban-web-server:detachedConfiguration1'.
   > Could not resolve org.nodejs:node:8.10.0.
     Required by:
         project :azkaban-web-server
      > Could not resolve org.nodejs:node:8.10.0.
         > Could not get resource 'https://nodejs.org/dist/v8.10.0/ivy.xml'.
            > Could not GET 'https://nodejs.org/dist/v8.10.0/ivy.xml'. Received status code 403 from server: Forbidden

There is indeed no such file in the mirror source.
https://nodejs.org/dist/v8.10.0/ivy.xml

Temporary solution

I found that 404 errors don't break the build

sed -i 's#https://nodejs.org/dist#https://mirrors.dotsrc.org/nodejs/release#g' azkaban-web-server/build.gradle
# china:
sed -i 's#https://nodejs.org/dist#https://mirrors.ustc.edu.cn/node#g' azkaban-web-server/build.gradle

@raynent
Copy link

raynent commented Feb 21, 2024

@Ansen Thanks, it works
@lalapalooza 国外的用上面的可以成功 国内的应该同理也能解决 谢谢

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

5 participants