Coder Social home page Coder Social logo

Comments (4)

xanderdunn avatar xanderdunn commented on July 20, 2024

I tried cloning the doodle repository myself and then referencing it locally:

lazy val doodleProject = RootProject(file("./doodle"))

Same result.

from doodle.

noelwelsh avatar noelwelsh commented on July 20, 2024

I haven't seen this error before. My guess, from the line

Directory /local/dev/gridworld/js is not contained in build root

is it has something to do with the Scala.js plugin. If you don't already have it in your project you might try adding it. See https://github.com/underscoreio/doodle/blob/develop/project/plugins.sbt for the configuration that Doodle uses. You should only need

resolvers ++= Seq(
  Resolver.bintrayRepo("scala-js", "scala-js-releases")
)

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.4")

If this doesn't help I would try asking on the sbt mailing list or Gitter channel https://gitter.im/sbt/sbt

from doodle.

xanderdunn avatar xanderdunn commented on July 20, 2024

From help on the sbt Gitter channel, apparently sbt-scalajs' cross building functionality is not compatible with sbt 0.13.8's added support for cross-Scala version sources and requires it to be re-set verbosely: https://github.com/InTheNow/export-hook/commit/22536a24f63eed647ce0ebd072758c752c88b1cc#commitcomment-12523097

Now I'm just trying to figure out how to apply this to my situation. Or, perhaps roll back sbt to 0.13.7.

from doodle.

xanderdunn avatar xanderdunn commented on July 20, 2024

It doesn't look like there's a clear workaround to this right now. It isn't actually solved by using a lower version of sbt:
screen shot 2015-08-05 at 17 36 24

from doodle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.