Cannot read property 'graphql' of undefined (Webpack and AWS Lambda) #1033
Unanswered
hectorgrecco
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to run an Apollo Server built with
apollo-server-lambda
and TypeGraphQL, but, when I compile the code, I receive the error below:In other articles, people say that it works with Webpack 4 but isn't with Webpack 5. All package.json dependencies are installed, but looks like that it can't recognize the path for package.json to get his peerDependencies.
I'm using
serverless-bundle
to bundle all things and make it readable by common JS.Can someone help me?
Beta Was this translation helpful? Give feedback.
All reactions