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
Code in ReadMe.md
failed for unkonow reason.
#490
Comments
Would it work if you delete the return type like adf7ec7 |
emmm, it seems that it makes sbt:desu-video>
sbt:desu-video>
sbt:desu-video> frontendJS/clean
[success] Total time: 0 s, completed 2023-3-9 17:52:13
sbt:desu-video>
sbt:desu-video>
sbt:desu-video> prun
[info] scalafmt: Formatting 2 Scala sources (E:\programming\workspace\desu-video\frontend\js)...
[info] scalafmt: Formatting 2 Scala sources (E:\programming\workspace\desu-video\frontend\js)...
[info] compiling 2 Scala sources to E:\programming\workspace\desu-video\frontend\js\target\scala-3.2.2\classes ...
[error] -- [E008] Not Found Error: E:\programming\workspace\desu-video\frontend\js\src\main\scala\AA.scala:67:27
[error] 67 | bindingTr(contact).bind
[error] | ^^^^^^^^^^^^^^^^^^^^^^^
[error] |value bind is not a member of com.thoughtworks.binding.Binding.BindingSeq[org.scalajs.dom.Node].
[error] |An extension method was tried, but could not be fully constructed:
[error] |
[error] | com.thoughtworks.dsl.Dsl.shift[com.thoughtworks.binding.Binding.Bind[Any], Any](
[error] | com.thoughtworks.binding.Binding.Bind[Any](DummyImplicit.dummyImplicit).apply(
[error] | AA.bindingTr(contact)
[error] | )
[error] | )
[error] -- Error: E:\programming\workspace\desu-video\frontend\js\src\main\scala\AA.scala:64:4
[error] 64 | html"""<table>
[error] | ^
[error] |Require a HTML DOM expression, got interpolation expression com.thoughtworks.binding.Binding.BindingSeq[scala.Any]
[error] |method watchableBindableSeq in trait LowPriorityBindableSeq2 does not match type com.thoughtworks.binding.bindable.BindableSeq.Lt[Value, org.scalajs.dom.Node]
[error] 65 | <tbody>
[error] 66 | ${for (contact <- contacts) yield {
[error] 67 | bindingTr(contact).bind
[error] 68 | }}
[error] 69 | </tbody>
[error] 70 | </table>"""
[error] |---------------------------------------------------------------------------
[error] |Inline stack trace
[error] |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[error] |This location contains code that was inlined from Reset.scala:113
[error] ---------------------------------------------------------------------------
[error] two errors found
[info] scalafmt: Formatting 1 Scala sources (E:\programming\workspace\desu-video\backend\desu-video-common)...
[error] (frontendJS / Compile / compileIncremental) Compilation failed
[error] Total time: 4 s, completed 2023-3-9 17:52:19
sbt:desu-video> |
How about 21c86d8? |
The same error. And change to this, it works, but the HTML seems not right. It seems that all the is miss and just add some |
Eager fix the problem in sbt>frontendJS/compile |
Error typo.
It seems that all the HTML Tags is miss and just add some Text Snippet to HTML, so I think the type BindingSeq[Node] means Binding[Seq[TextNode]]. |
Fixed in Atry/html.scala@d627afe |
Code Link
Dependencies:
Plugins:
Scala Version: 3.2.2
Message:
The text was updated successfully, but these errors were encountered: