79512309

Date: 2025-03-16 08:53:27
Score: 2
Natty:
Report link

Node.js as of V22 supports running .ts files natively with --experimental-strip-types flag.

I've got it working locally, was pretty straight forward to adjust my code, just need to follow a few rules here

In the AWS Lambda config I have added an environment variable NODE_OPTIONS with --experimental-strip-types and I've changed the runtime settings to handler.ts.handler, but I get the same error as above.

I feel like it should work but just missing some link.

Reasons:
  • RegEx Blacklisted phrase (1): I get the same error
  • Has code block (-0.5):
  • Me too answer (2.5): I get the same error
  • High reputation (-1):
Posted by: Simon Hutchison