Skip to content

Conversation

MennoTammens
Copy link

When compiling with node20.x of node22.x, I got this error:

{
  file: undefined,
  start: undefined,
  length: undefined,
  code: 2688,
  category: 1,
  messageText: {
    messageText: "Cannot find type definition file for 'glob'.",
    category: 1,
    code: 2688,
    next: [ [Object] ]
  },
  relatedInformation: undefined
}

Error:
TypeError: Cannot read properties of undefined (reading 'getLineAndCharacterOfPosition')
    at node_modules/serverless-plugin-typescript/dist/src/typescript.js:85:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant