scalaspace / scalaspace.github.io

Scala Space website
14 stars 47 forks source link

How do you build this project? #70

Closed jarrodu closed 6 years ago

jarrodu commented 6 years ago

It seems like this project has a little bit-rot. If I can figure out how to compile it and run locally I can try to clean it up a bit.

Any suggestions about getting around this compilation error? I am working from c2dfd4933932fa0b7a99d8b05348725be8dbfdfb

> fastOptJS
[info] Compiling 4 Scala sources to /home/jarrodu/Projects/scala-ecosystem/scalaspace.github.io/target/scala-2.11/classes...
[error] /home/jarrodu/Projects/scala-ecosystem/scalaspace.github.io/src/main/scala/ScalaSpace.scala:55: not found: value navigator
[error]         if (navigator.geolocation != null) {
[error]             ^
[error] /home/jarrodu/Projects/scala-ecosystem/scalaspace.github.io/src/main/scala/ScalaSpace.scala:56: not found: value navigator
[error]           navigator.geolocation.getCurrentPosition { (position: Position) =>
[error]           ^
[error] two errors found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 3 s, completed Jun 9, 2018 11:05:34 AM

I don't have much experience with scala.js so I might be missing something obvious.