我对AWS很陌生。同时将我的代码发布到Aws Serverless Lambda API中。经过100%的处理后,它给出的误差为
Found existing stack: True
The stack's current state of UPDATE_ROLLBACK_FAILED is invalid for updating
Failed to publish AWS Serverless application
在服务器上,当在服务器上检查时,它会显示
Description : An AWS Serverless Application that uses the ASP.
我正在阅读这篇文档:https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/lambda-build-test-severless-app.html 我使用"Blog API using DynamoDB“模板创建了一个无服务器应用程序。 当我从VS发布时,它会将其作为无服务器应用程序部署到aws上,但它正在运行什么命令?我如何从命令行发布它(没有VS)? 当我查看项目附带的serverless.template文件时,我只看到了AWS::Serverless::Function和dynamodb
我在sls部署上有错误:
Role arn:aws:iam::542779088875:role/serverless-role is invalid or cannot be assumed
我不明白这个角色是从哪里来的。一开始,我没有这样的角色。然后,我创建了名为serverless-role的新角色,并在dashboard.serverless.com上选择了它,但是仍然会遇到这个错误。
堆栈删除也没有帮助(我得到了同样的错误)。
我做错了什么?
我正在构建一个web应用程序,并使用getStaticProps和getStaticPaths从客户端和服务器端的Firestore获取数据。
几个月来,一切都运行得很好,因为我只在Vercel上部署我的应用程序时才运行next build。
我现在正尝试在本地构建我的应用程序,但得到以下错误
@firebase/firestore: Firestore (8.6.2): INTERNAL UNHANDLED ERROR: Error: ENOENT: no such file or directory, open '/Users/.../.next/serverless/proto