我遇到了无服务器问题。
我使用以下命令行创建了一个简单的模板:
无服务器创建--template aws-nodejs
然后我运行命令行以部署无服务器,
无服务器部署-v
但我收到此错误:
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless Error ---------------------------------------
ServerlessError: The "key" argument must be one of type Buffer, TypedArray, DataView, string, or KeyObject. Received type undefined
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information -----------------------------
OS: linux
Node Version: 11.11.0
Serverless Version: 1.38.0
我不明白为什么它不能部署我的lambda函数?