Inconsistent pairing of sbt-typelevel and scalajs
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- scala
- Domain
- build-system, tooling
Research direction
Look at the project's build files to find where the sbt-scalajs plugin version is defined. The issue suggests updating from version 1.13.2 to 1.20.1. Check for any version compatibility constraints with sbt-typelevel and Scala.js. Run the build locally to verify the fix resolves the dependency error.
Written by the indexing model from the issue text.
Description
Using: addSbtPlugin("org.typelevel" %% "sbt-typelevel" % "0.8.7")
In Github Actions, and the Submit Dependencies (ubuntu-22.04, temurin@8) job the following error occurs
[warn] Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading org.scala-js:scalajs-compiler_2.13.18:1.13.2
[error] Not found
[error] Not found
[error] not found: /home/runner/.ivy2/localorg.scala-js/scalajs-compiler_2.13.18/1.13.2/ivys/ivy.xml
[error] not found: https://repo1.maven.org/maven2/org/scala-js/scalajs-compiler_2.13.18/1.13.2/scalajs-compiler_2.13.18-1.13.2.pom
[error] at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:350)
Workaround: Adding the following to the plugins of the project, seems to do well.
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.20.1")
Solution: A PR that changes
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2")
to
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.20.1")
Only issue is I don't know what kind of changes that would cascade.
- Dominant language
- Scala
- Stars
- 185
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from typelevel/sbt-typelevel
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
typelevel/sbt-typelevel#808 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
typelevel/sbt-typelevel#900 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
typelevel/sbt-typelevel#899 · 8 comments · 6 reactions ·
-
Public hook for appending commands to the "Check headers and formatting" lint stepPossibly taken @kubukoz claimed this 161 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 68/100
typelevel/sbt-typelevel#888 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
typelevel/sbt-typelevel#887 · 1 comment ·
All issues in typelevel/sbt-typelevel
Similar issues
-
Difficulty 2/5 Under an hour Newbie friendliness 70/100
-
[Bug] HiveDialect shares its colspecs dict with SQLAlchemy's DefaultDialect (python/pyhive)Possibly taken @rusackas claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 80/100
apache/kyuubi#7786 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
requires-triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
apache/datafusion-comet#7001 ·
Maintainers usually reply within 1 day
-
? - Needs Triage documentation user_tools
Difficulty 2/5 Half a day Newbie friendliness 62/100
NVIDIA/cudf-spark-tools#2190 ·
Maintainers usually reply within 2 days