aws-lambda

amarjeet 2018-07-06T17:29:46.000317Z

Hello, I am getting this error when I run Lacinia on Lambda

{
  "errorMessage": "ANTLR ErrorManager panic",
  "errorType": "java.lang.Error"
}
However, my function works on local. Any help?

ghadi 2018-07-06T18:32:41.000029Z

You might be missing a shared library

ghadi 2018-07-06T18:33:23.000284Z

@amarjeet ANTLR is a c lib, right?

amarjeet 2018-07-06T18:36:58.000063Z

Not sure if it's a c lib, but lacinia uses it as query parser.

amarjeet 2018-07-06T18:37:39.000226Z

@ghadi what is shared library?

ghadi 2018-07-06T18:38:49.000327Z

Shared library being a system library like .so or .dll

ghadi 2018-07-06T18:39:14.000317Z

Might be tricky to work that in lambda

amarjeet 2018-07-06T18:40:34.000080Z

Oh okay