Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Serverless framework with Node ES6 modules

未关闭
#712 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
28/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
aws, express, javascript, node.js
领域
backend, cloud

调研方向

从 aws/node/express 模板开始,将其 CommonJS 设置与已报告的 ES6 模块转换进行比较。验证 home 路由的响应,并确定该示例是否支持 ESM;完成的标准是转换后的模板能够成功返回,而不是返回 Internal Server Error,并且支持状态已记录。

由索引模型根据 Issue 内容生成。

描述

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

主要语言
JavaScript
星标
11.5k
派生
4.4k
平均合并
2 小时 55 分钟
30 天内合并 PR
3

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

serverless/examples 的其他 Issue

查看 serverless/examples 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。