Hi all, I have only just started. On Ubuntu and just did the very first steps in the Quick start. My app throws an error when visiting the API GW endpoint, but only when running in npx sst start.
The error does not appear if I hit the deploy endpoint without any code differences.
Error is:
file:///.../tmp/my-sst-app/node_modules/@serverless-stack/aws-lambda-ric/lib/index.js:34
const error = new Errors.UnhandledPromiseRejection(reason?.toString(), promise);
^
SyntaxError: Unexpected token '.'
at Loader.moduleStrategy (internal/modules/esm/translators.js14018)