Node Js - AWS signal: aborted (core dumped)

363 views Asked by At

I'm new to AWS lambda, I have a simple app using Node Js + Prisma + Apollo, for front end I'm using react, my lambda function it was working fine a couple of weeks a go, but I was trying to update a new version of my static site and I found this issue:

Error: Runtime exited with error: signal: aborted (core dumped)
Runtime.ExitError

this is my lambda file:

const server = new ApolloServer({
  typeDefs,
  resolvers,
  playground: {
    endpoint: '/dev/graphql',
  },
  context: ({ event, context }) => ({
    headers: event.headers,
    functionName: context.functionName,
    event,
    context,
    prisma,
  }),
});

exports.serverHandler = server.createHandler({
  cors: {
    origin: '*',
    credentials: true,
  },
});

I already try to increase timeout and also the memory but still not working.

0

There are 0 answers