You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[info] Compiling 4 Scala sources to /Users/kotsurm/Projects/aws-lambda-scala/target/scala-2.12/classes ...
[error] /Users/kotsurm/Projects/aws-lambda-scala/src/main/scala/io/github/mkotsur/aws/handler/Lambda.scala:65:51: could not find implicit value for parameter gen: shapeless.Generic[io.github.mkotsur.aws.proxy.ProxyRequest[T]]
[error] def GenericProxyRequestOf[T] = shapeless.Generic[ProxyRequest[T]]
[error] ^
[error] /Users/kotsurm/Projects/aws-lambda-scala/src/main/scala/io/github/mkotsur/aws/handler/Lambda.scala:75:30: could not find implicit value for parameter gen: shapeless.Generic[io.github.mkotsur.aws.proxy.ProxyRequest[String]]
[error] val reqList = Generic[ProxyRequest[String]].to(decodedRequestString)
[error] ^
[error] /Users/kotsurm/Projects/aws-lambda-scala/src/main/scala/io/github/mkotsur/aws/handler/Lambda.scala:76:16: could not find implicit value for parameter gen: shapeless.Generic[io.github.mkotsur.aws.proxy.ProxyRequest[T]]
[error] Generic[ProxyRequest[T]].from((bodyOption :: reqList.reverse.tail).reverse)
[error] ^
[error] /Users/kotsurm/Projects/aws-lambda-scala/src/main/scala/io/github/mkotsur/aws/handler/Lambda.scala:79:46: could not find implicit value for parameter canDecode: io.github.mkotsur.aws.handler.CanDecode[io.github.mkotsur.aws.proxy.ProxyRequest[String]]
[error] for (decodedRequest$String <- CanDecode[ProxyRequest[String]].readStream(is);
[error] ^
[error] /Users/kotsurm/Projects/aws-lambda-scala/src/main/scala/io/github/mkotsur/aws/handler/Lambda.scala:104:29: could not find implicit value for parameter encoder: io.circe.Encoder[io.github.mkotsur.aws.proxy.ProxyResponse[String]]
[error] output.write(response.asJson.noSpaces.getBytes)
[error] ^
[error] 5 errors found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 6 s, completed 17 Apr 2018, 13:57:02
Also impossible to use the library with projects on 2.12.5...
The text was updated successfully, but these errors were encountered:
"Also impossible to use the library with projects on 2.15..."
(I assume you mean 2.12.5 as your title change indicates.)
I'm not quite sure what this means. I'm not compiling your source, but I'm using the library in a 2.12.5 project. My build.sbt contains this and seems to work fine:
@thunderkid hm... that's strange. I definitely get compilation errors when using it in a 2.12.5 project. But the good news are, that in 2.12.6 it the library and the project with the library both compile fine. 2.12.5 is known for this severe issue. They are not necessarily correlated, but anyway closing since everything works fine now :-)
Also impossible to use the library with projects on 2.12.5...
The text was updated successfully, but these errors were encountered: