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

[BUG] No dependencies display #118

Open
2 tasks done
elgca opened this issue Oct 20, 2024 · 4 comments
Open
2 tasks done

[BUG] No dependencies display #118

elgca opened this issue Oct 20, 2024 · 4 comments
Labels
question Further information is requested

Comments

@elgca
Copy link

elgca commented Oct 20, 2024

Preparation action completed

  • I have added addDependencyTreePlugin into plugins.sbt (sbt.1.4+) or the file sdap.sbt exists and contains addDependencyTreePlugin
  • I have set organization := for root project and cross-platform

Screenshot of the current sbt Shell

image

Screenshot of the current dependency tree

image

image

image

image

image

Scala platform (scala js, scala jvm, scala native) and version (scala 2.x, scala 3.x)

  • windows 11
  • scala3.6.0
  • scalajs1.17
  • sbt 1.10.2

IDEA version comes from About Intellij IDEA

  • 2024.3 EAP

image

dot files

dependencies-compile.zip

@elgca elgca added the bug Something isn't working label Oct 20, 2024
@jxnu-liguobin
Copy link
Member

Modules not listed in moduleName will not be analyzed. So only scala-web-full displays normally.
This is because module dependency analysis relies on mouduleName as the artifact ID

@jxnu-liguobin jxnu-liguobin added question Further information is requested and removed bug Something isn't working labels Oct 21, 2024
@elgca
Copy link
Author

elgca commented Oct 21, 2024 via email

@jxnu-liguobin
Copy link
Member

jxnu-liguobin commented Oct 22, 2024

@elgca Unfortunately, the root project in your config has already used aggregate, but sbt moduleName doesn't list the dependent module names, I didn't encounter this exception in test project circe, since I'm not good at cross-platform, I can't see the difference between your config and circe, So, I'll take a look when I have time this week, can you provide a minimal project to reproduce it?

@elgca
Copy link
Author

elgca commented Oct 22, 2024

It might have been caused by IDEA. Today, after IDEA crashed and failed to load the project, I have to clear anything about IDEA
cache or config. then reopen the project. Now it's working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants