multiplayer-snake's People
Forkers
mishinmultiplayer-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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.