Skip to content
Discussion options

You must be logged in to vote

Further noodling about has shown that whatever is going on is in is in the call to Suite(localPlatform()). When I pull that out onto its own line, I get this:

1 targets failed
installLocal java.util.NoSuchElementException: key not found: List(localPlatform)
    scala.collection.immutable.Map$Map4.apply(Map.scala:517)
    mill.define.Cross.apply(Cross.scala:86)
    ammonite.$file.build.$anonfun$installLocal$2(build.sc:208)
    scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)

EDIT: and it turns out that localPlatform() is of type Command[String] instead of String. See #1239 for other variants. In my case, I can drop the T.command part of the definition, as it's not r…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@lefou
Comment options

@lefou
Comment options

@Sailsman63
Comment options

@lefou
Comment options

@Sailsman63
Comment options

Answer selected by Sailsman63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants