Giter VIP home page Giter VIP logo

multiplayer-snake's People

Contributors

vmunier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mishin

multiplayer-snake's Issues

Never ending loop of errors in debug mode or simple frozen building in warn mod

When I typed:

sbt project scalajvm

Interface was frozen on line

Loading project definition from

Exactly line in post

https://stackoverflow.com/questions/11373536/play-framework-hangs-on-startup-at-loading-project-definition-from

I changed

logLevel := Level.Warn

to

logLevel := Level.Debug

in project/plugins.sbt and execute command

sbt project scalajvm

again. I have got a lot of errors, for example

CLIENT ERROR: Not Found url=http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/xalan/serializer/2.7.1/jars/serializer.jar

there was thousands lines of output...

Finally i ended with this error.

[warn] there were 3 deprecation warning(s); re-run with -deprecation for details
[warn] one warning found
[debug] Scala compilation took 6.13161354 s
[debug] Invalidating by inheritance (transitively)...
[debug] Initial set of included nodes: Set(/home/daniel/test/multiplayer-snake/project/Build.scala)
[debug] Invalidated by transitive public inheritance: Set(/home/daniel/test/multiplayer-snake/project/Build.scala)
[debug] Invalidated by direct dependency: Set()
[debug] New invalidations:
[debug] 	Set()
[debug] Initial set of included nodes: Set()
[debug] Previously invalidated, but (transitively) depend on new invalidations:
[debug] 	Set()
[debug] All newly invalidated sources after taking into account (previously) recompiled sources:Set()
[debug] Copy resource mappings: 
[debug] 	(/home/daniel/test/multiplayer-snake/project/target/scala-2.10/sbt-0.13/resource_managed/main/sbt/sbt.builds,/home/daniel/test/multiplayer-snake/project/target/scala-2.10/sbt-0.13/classes/sbt/sbt.builds)
[info] Set current project to play-game (in build file:/home/daniel/test/multiplayer-snake/)
[info] scalajvm (in build file:/home/daniel/test/multiplayer-snake/)
[error] Not a valid command: scalajvm
[error] Expected '/' (if selecting a project)
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: scalajvm (similar: scalaHome, scala-home, ivy-scala)
[error] scalajvm
[error]         

Unable to add routesImport

I have recently started playing with this project and I really like it so far. I have been using this configuration option, but it does not seem to work when I put it under server configuration:
play.sbt.routes.RoutesKeys.routesImport += "models.Implicits._",

Whole config:

lazy val server = (project in file("server")).settings(
  scalaVersion := scalaV,
  scalaJSProjects := Seq(client),
  pipelineStages in Assets := Seq(scalaJSPipeline),
  pipelineStages := Seq(digest, gzip),
  // triggers scalaJSPipeline when using compile or continuous compilation
  compile in Compile <<= (compile in Compile) dependsOn scalaJSPipeline,
  play.sbt.routes.RoutesKeys.routesImport += "models.Implicits._",
  libraryDependencies ++= Seq(
    "com.vmunier" %% "scalajs-scripts" % "1.0.0",
    "com.lihaoyi" %% "upickle" % "0.4.3",
    ws
  )
).enablePlugins(PlayScala).
  dependsOn(sharedJvm)

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.