Gatsby SSR Invocation Failed

Hi there!

We are trying to utilize Gatsby’s SSR functionality and getting an invocation error when accessing the ssr page.

This is a brach deploy of the page: https://629948c01cb0120f26909a97--dsg-test.netlify.app/en/ssr

Any assistance would be great, and this is for an enterprise account.

Cody

Hey there, @codytaft :wave:

Thanks for reaching out!

I suspect that this is related to recent lmdb changes. Our team is working on addressing this. In the interim, could you try adding the following environment variable AWS_LAMBDA_JS_RUNTIME with the value nodejs16.x in the Netlify UI?

Let me know if that solves this!

hi there @hillary

Looks like we fixed. We needed to downgrade NODE and AWS_LAMBDA_JS_RUNTIME to 14.x and NPM to 6.x in order to get this to work.

2 Likes