Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails out of the box #1

Open
msmyers opened this issue Sep 13, 2022 · 0 comments
Open

Fails out of the box #1

msmyers opened this issue Sep 13, 2022 · 0 comments

Comments

@msmyers
Copy link

msmyers commented Sep 13, 2022

~/projects/niftmint/sst-start-demo master*                                                                                                                                                                                                         12:41:55 PM
❯ npx sst start

=======================
 Deploying debug stack
=======================

 ⏳  Bootstrapping environment aws://253140565358/us-east-1...
Trusted accounts:   (none)
Using default execution policy of 'arn:aws:iam::aws:policy/AdministratorAccess'. Pass '--cloudformation-execution-policies' to customize.
CDKToolkit: creating CloudFormation changeset...
[████████████████████████████████████████████████████▋·····] (10/11)


 ✅  Environment aws://253140565358/us-east-1 bootstrapped.
dev-sst-start-demo-debug-stack: deploying...
[0%] start: Publishing 5a07db3ec798475f65df916455e1273f5b751877099710e4d627b791fdb9acfd:current
[100%] success: Published 5a07db3ec798475f65df916455e1273f5b751877099710e4d627b791fdb9acfd:current
dev-sst-start-demo-debug-stack: creating CloudFormation changeset...
12:44:17 PM | CREATE_FAILED        | AWS::Lambda::Function          | Disconnect7D6B12BD
Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: adf715cc-a4ce-4536-9f40-9c0d002d270b)" (RequestToken: 78c6c9c7-e430-16a6-e2d8-c480e4547f11, HandlerErrorCode: InvalidRequest)

        new Function (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@aws-cdk/aws-lambda/lib/function.js:127:26)
        \_ addApiRoute (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/assets/debug-stack/lib/DebugStack.js:69:26)
        \_ new DebugStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/assets/debug-stack/lib/DebugStack.js:43:5)
        \_ Object.<anonymous> (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/assets/debug-stack/bin/index.js:15:1)
        \_ Module._compile (node:internal/modules/cjs/loader:1103:14)
        \_ Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
        \_ Module.load (node:internal/modules/cjs/loader:981:32)
        \_ Function.Module._load (node:internal/modules/cjs/loader:822:12)
        \_ Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
        \_ node:internal/main/run_main_module:17:47

12:44:17 PM | CREATE_FAILED        | AWS::Lambda::Function          | Connect5B7625CA
[█████████▋················································] (4/24)

12:44:17 PM | CREATE_FAILED        | AWS::Lambda::Function          | Disconnect
Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: adf715cc-a4ce-4536-9f40-9c0d002d270b)" (RequestToken: 78c6c9c7-e430-16a6-e2d8-c480e4547f11, HandlerErrorCode: InvalidRequest)
12:44:17 PM | CREATE_FAILED        | AWS::Lambda::Function          | Connect
Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 482cf282-0eca-41ed-9bb8-17ec3d5a768d)" (RequestToken: fc8d8fbc-5a8e-12db-a046-f3b9017f3e67, HandlerErrorCode: InvalidRequest)
12:44:18 PM | CREATE_FAILED        | AWS::Lambda::Function          | Default
Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 0470c0b2-4fd3-44db-88cc-55364623e3b2)" (RequestToken: ef6dfda0-c09a-b337-7860-a99abb839677, HandlerErrorCode: InvalidRequest)
12:44:19 PM | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack     | dev-sst-start-demo-debug-stack
The following resource(s) failed to create: [Disconnect7D6B12BD, Connect5B7625CA, Resource]. Rollback requested by user.

 ❌  dev-sst-start-demo-debug-stack failed: Error: The stack named dev-sst-start-demo-debug-stack failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE
    at Object.waitForStackDeploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/api/util/cloudformation.ts:321:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.deployStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/api/deploy-stack.ts:348:26)
    at CdkToolkit.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/cdk-toolkit.ts:194:24)
    at Object.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/serverless-stack.ts:99:15)
    at Object.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/index.js:25:10)
    at deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/util/cdkHelpers.js:402:15)
    at deployDebugStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:128:21)
    at Object.module.exports [as start] (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:89:26)
Error: The stack named dev-sst-start-demo-debug-stack failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE
    at Object.waitForStackDeploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/api/util/cloudformation.ts:321:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.deployStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/api/deploy-stack.ts:348:26)
    at CdkToolkit.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/cdk-toolkit.ts:194:24)
    at Object.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/serverless-stack.ts:99:15)
    at Object.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/index.js:25:10)
    at deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/util/cdkHelpers.js:402:15)
    at deployDebugStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:128:21)
    at Object.module.exports [as start] (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:89:26)

Error: Failed to get the endpoint from the deployed debug stack dev-sst-start-demo-debug-stack
    at deployDebugStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:142:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.module.exports [as start] (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:89:26)


~/projects/niftmint/sst-start-demo master*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant