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

(aws-lambda-nodejs): Users are directed to a closed issue from the CLI #19331

Closed
AndrewGuenther opened this issue Mar 10, 2022 · 2 comments
Closed
Assignees
Labels
guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged.

Comments

@AndrewGuenther
Copy link

General Issue

There is a CLI error about empty zip files pointing users to a closed issue, but the bug is not fixed

The Question

There is a bug causing CDK to generate empty zip files from assets which outputs the following error message:

🚨 WARNING: EMPTY ZIP FILE 🚨

Zipping this asset produced an empty zip file. We do not know the root cause for this yet, and we need your help tracking it down.

Please visit https://github.com/aws/aws-cdk/issues/18459 and tell us:
Your OS version, Nodejs version, CLI version, package manager, what the asset is supposed to contain, whether
or not this error is reproducible, what files are in your cdk.out directory, if you recently changed anything,
and anything else you think might be relevant.

The deployment will continue, but it may fail. You can try removing the cdk.out directory and running the command
again; let us know if that resolves it.

If you meant to produce an empty asset file on purpose, you can add an empty dotfile to the asset for now
to disable this notice.

The issue referenced (#18459) was resolved by the requester because they worked around it, but the issue itself hasn't actually been fixed. I've added more details about how I was able to reproduce the problem to that issue, but since it has been resolved I don't expect it to get much visibility. I'm creating this issue to request that issue be re-opened.

CDK CLI Version

2.15.0 (build 151055e)

Framework Version

No response

Node.js Version

No response

OS

No response

Language

Python

Language Version

No response

Other information

No response

@AndrewGuenther AndrewGuenther added guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged. labels Mar 10, 2022
@peterwoodworth
Copy link
Contributor

Thanks for letting us know @AndrewGuenther, I've reopened the issue. Much appreciated!

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

4 participants