我正在尝试使用sam deploy -g在之后部署示例应用程序。在sam local invoke "HelloWorldFunction" -e events/event.json和sam local start-api中一切都如预期的那样工作)OS: macOS BigSur version 11.1SAM CLI, version 1.15.0
我已经通过sam init创建了sam项目文件。我选择了"nodejs14.x“运行时和hello world模板 sam build看起来不错。但是sam deploy --guided失败了,错误消息是 Looking for resources needed for deployment:
Creating the required
我读到过,SAM现在支持构建层,并遵循了中提到的说明。但是,当我尝试使用sam build samDeployLayer在本地构建图层时,会遇到构建错误Error: NodejsNpmBuilder:NpmPack - NPMCould not install from "E:\Development\sam-deploy\src\sam-deploy-layer" as it does not contain a package.jsonFunctionName: &quo