You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just set up serverless with an aws/node/express template, and found that the template was using common JS. I haven't used CJS in quite a while, using ES6 modules instead. I haven't found much info at all on serverless and ES6 modules, so asking to what what the status on support is?
AWS supports ES6 modules, as I've created an AWS service with ESM before. But what I convert the template to ESM I get {"message":"Internal Server Error"} as a response from the home route (this route was working before).
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi,
I've just set up serverless with an aws/node/express template, and found that the template was using common JS. I haven't used CJS in quite a while, using ES6 modules instead. I haven't found much info at all on serverless and ES6 modules, so asking to what what the status on support is?
AWS supports ES6 modules, as I've created an AWS service with ESM before. But what I convert the template to ESM I get {"message":"Internal Server Error"} as a response from the home route (this route was working before).
Thanks in advance
The text was updated successfully, but these errors were encountered: