com-lihaoyi / scalatags

ScalaTags is a small XML/HTML construction library for Scala.
https://com-lihaoyi.github.io/scalatags/
MIT License
757 stars 117 forks source link

building scalatags: build.sbt can't find fullOptJS, example, scalatagsJS #202

Open hartmut27 opened 4 years ago

hartmut27 commented 4 years ago

I cant find a solution for a this problem occuring when running sbt on the scalatags project itself, after a git clone of this repository.

e.g. build.sbt:11: error: not found: value fullOptJS

Do You have a hint which way I could go to solve this? Thx.

/home/hape/scalatags/build.sbt:11: error: not found: value fullOptJS
  (resources in Compile) += (fullOptJS in (example, Compile)).value.data,
                             ^
/home/hape/scalatags/build.sbt:11: error: not found: value example
  (resources in Compile) += (fullOptJS in (example, Compile)).value.data,
                                           ^
/home/hape/scalatags/build.sbt:12: error: not found: value scalatagsJS
  (resources in Compile) += (doc in (scalatagsJS, Compile)).value,
                                     ^
/home/hape/scalatags/build.sbt:15: error: not found: value scalatagsJS
      (doc in (scalatagsJS, Compile)).value,
               ^

full log:

hape@hplinux:~/scalatags$ sbt
[info] [launcher] getting org.scala-sbt sbt 1.2.8  (this may take some time)...
:: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/usr/share/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: retrieving :: org.scala-sbt#boot-app
        confs: [default]
        80 artifacts copied, 0 already retrieved
[info] [launcher] getting Scala 2.12.7 (for sbt)...
:: retrieving :: org.scala-sbt#boot-scala
        confs: [default]
        5 artifacts copied, 0 already retrieved
[info] Loading settings for project scalatags-build from build.sbt,metals.sbt ...
[info] Loading project definition from /home/hape/scalatags/project
/home/hape/scalatags/build.sbt:11: error: not found: value fullOptJS
  (resources in Compile) += (fullOptJS in (example, Compile)).value.data,
                             ^
/home/hape/scalatags/build.sbt:11: error: not found: value example
  (resources in Compile) += (fullOptJS in (example, Compile)).value.data,
                                           ^
/home/hape/scalatags/build.sbt:12: error: not found: value scalatagsJS
  (resources in Compile) += (doc in (scalatagsJS, Compile)).value,
                                     ^
/home/hape/scalatags/build.sbt:15: error: not found: value scalatagsJS
      (doc in (scalatagsJS, Compile)).value,
               ^
[error] sbt.compiler.EvalException: Type error in expression
[error] sbt.compiler.EvalException: Type error in expression
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? 
sake92 commented 4 years ago

This repo doesnt support sbt anymore (except for docs).. Please use the mill build now! :)