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

Error downloading org.constellation:tessellation-node-shared_2.13:2.8.0 #35

Open
losintikfos opened this issue Jan 2, 2025 · 1 comment

Comments

@losintikfos
Copy link

Any idea why I am getting this error while trying to compile https://github.com/Constellation-Labs/metagraph-examples/tree/todo-tutorial/examples/todo: (I am a newbie)

Workbench:

IDE: Vscode (Metals)
Scala code runner version: 1.4.3
Scala version (default): 3.5.1
sbt 1.10.2 (Eclipse Adoptium Java 23)

Error:

$ sbt clean compile
[info] welcome to sbt 1.10.2 (Eclipse Adoptium Java 23)
[info] loading settings for project examples-build from plugins.sbt ...
[info] loading project definition from /newbie//Documents/others/metagraph-examples/examples/project
[info] loading settings for project root from build.sbt ...
[info] set current project to todo (in build file:/newbie//Documents/others/metagraph-examples/examples/)
[info] Executing in batch mode. For better performance use sbt's shell
[warn] undefined keys `githubOwner` and `githubRepository`
[warn] retaining pre-existing publication settings
[success] Total time: 0 s, completed 27 Dec 2024, 13:58:38
[info] Updating todo-shared-data_2.13
[info] Resolved todo-shared-data_2.13 dependencies
[warn] 
[warn]  Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading org.constellation:tessellation-node-shared_2.13:2.8.0
[error]   Not found
[error]   Not found
[error]   not found: /newbie//.ivy2/localorg.constellation/tessellation-node-shared_2.13/2.8.0/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/org/constellation/tessellation-node-shared_2.13/2.8.0/tessellation-node-shared_2.13-2.8.0.pom
[error]   not found: /newbie//.m2/repository/org/constellation/tessellation-node-shared_2.13/2.8.0/tessellation-node-shared_2.13-2.8.0.pom
[error]   not found: https://maven.pkg.github.com/abankowski/http-request-signer/org/constellation/tessellation-node-shared_2.13/2.8.0/tessellation-node-shared_2.13-2.8.0.pom
[error]         at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:346)
[error]         at lmcoursier.CoursierDependencyResolution.$anonfun$update$39(CoursierDependencyResolution.scala:315)
[error]         at scala.util.Either$LeftProjection.map(Either.scala:573)
[error]         at lmcoursier.CoursierDependencyResolution.update(CoursierDependencyResolution.scala:315)
[error]         at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:60)
[error]         at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:60)
[error]         at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:142)
[error]         at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:74)
[error]         at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:144)
[error]         at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:131)
[error]         at sbt.util.Tracked$.$anonfun$inputChangedW$1(Tracked.scala:220)
[error]         at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:169)
[error]         at sbt.Classpaths$.$anonfun$updateTask0$1(Defaults.scala:3894)
[error]         at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error]         at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error]         at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error]         at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error]         at sbt.Execute.work(Execute.scala:292)
[error]         at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error]         at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error]         at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error]         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error]         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
[error]         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error]         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[error]         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[error]         at java.base/java.lang.Thread.run(Thread.java:1575)
[error] (sharedData / update) sbt.librarymanagement.ResolveException: Error downloading org.constellation:tessellation-node-shared_2.13:2.8.0
[error]   Not found
[error]   Not found
@AlexBrandes
Copy link
Member

The problem you're running into is likely due to a missing GITHUB_TOKEN environment variable which is required to build Tessellation locally. In order to build within VSCode you need to download the Tessellation version referenced in the project, build it, then run sbt publishLocal with the GITHUB_TOKEN env variable in scope.

If you're just getting started with the project, we recommend that you use Euclid SDK to install the examples. It will handle the build process for you and allow you to easily deploy a local metagraph and Hypergraph cluster. You can install any of the examples using the Hydra CLI tool. For example, hydra install-template todo.

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