-
创建完成后的项目,已登录鉴权。 运行了 serverless ⚡components 报错如下: koa-starter › Error: an HTTP(S) proxy server `host` and `port` must be specified! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
找到问题了,本地的node版本为12+,需要切换到node 10+ |
Beta Was this translation helpful? Give feedback.
-
@MrGaoGang 目前 serverless 的使用不应该收到 本地node版本影响, 我本地使用最新的 serverless CLI + node 12 创建部署 koa 模板项目,并没有发生部署失败的问题. 建议通过 |
Beta Was this translation helpful? Give feedback.
@MrGaoGang 目前 serverless 的使用不应该收到 本地node版本影响, 我本地使用最新的 serverless CLI + node 12 创建部署 koa 模板项目,并没有发生部署失败的问题.
建议通过
npm update serverless -g
更新最新的 serverless CLI, 并继续观察是否还会遇到类似问题, 如果还有遇到类似问题, 欢迎提交 issue反馈给我们, 我们会跟进处理.