Error on first serverless deploy
See original GitHub issueWhen deploying a new Serverless project for the first time (stack doesn’t exist in CloudFormation yet) with sls deploy
, I see this error:
$ sls deploy
Serverless: Creating Stack...
Serverless: Checking stack creation progress...
......
Serverless: Stack successfully created.
Serverless: Bundling with Webpack...
Time: 4537ms
Asset Size Chunks Chunk Names
./handler.js 268 kB 0 [emitted] main
Serverless: Zipping service...
Error --------------------------------------------------
EEXIST: file already exists, link '/Users/kennu/Projects/xxx/xxx/services/.webpack/.serverless'
-> '/Users/kennu/Projects/xxx/xxx/services/.serverless'
For debugging logs, run again after setting SLS_DEBUG env var.
Get Support --------------------------------------------
Docs: v1.docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Please report this error. We think it might be a bug.
When I run sls deploy
again, it works fine.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Top 10 Serverless Deployment Errors (and How to Fix Them)
1. Invalid CloudFormation state · 2. Unable to fetch parameters · 3. API Gateway: No integration defined for method · 4. Codebuild deploy...
Read more >My first serverless deploy failed with Stack XXXXX does not exist
serverless deploy -v. but I'm getting the following error: Set "provider.apiGateway.shouldStartNameWithService" to "true" to adapt to the ...
Read more >Serverless deploy - Function not found - sls deploy
I've faced this issue with Serverless. The issue is caused by how Serverless handles, tracks, and deploys your functions. When you deleted the...
Read more >Unable to deploy new stack #10782 - serverless ... - GitHub
Run npx serverless@3 deploy --stage dev --verbose. Expected Result: Stack gets created for the dev stage. Actual Result: Produces the following ...
Read more >Stack with id does not exist - Seed.run
The reason it shows up as this error is because on the first deployment Serverless Framework tries to create an S3 bucket to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could you publish a new version for this fix?
Version 1.0.0-rc.2 is on npm with this fix!