apollo-netlify-lambda-app icon indicating copy to clipboard operation
apollo-netlify-lambda-app copied to clipboard

Does not work with Netlify Lamba 1.0.2

Open bsbechtel opened this issue 6 years ago • 1 comments

Hey Sashko, it looks like this doesn't work with the latest version of Netlify Lambda. There are apparently issues with using Webpack 4 and apollo-server-lambda. I'm not sure where the issue lies between Netlify lambda and apollo-server-lambda, but if others are trying to follow your Medium tutorial, I wanted to post this here so they're aware of the versioning issues!

bsbechtel avatar Oct 14 '18 14:10 bsbechtel

I am using Typescript and I made it work by installing these dependencies:

@types/graphql
@babel/core
@types/graphql
@types/aws-lambda
babel-loader

You probably don't need the dependencies starting by @types if you are not using Typescript.

jerlam06 avatar Nov 04 '18 19:11 jerlam06