Deployment crashing while zipping assets
See original GitHub issue-
I’m submitting a …
- 🪲 bug report
-
What is the current behavior? After upgrading to CDK 0.36.0, deployment fails without an error message while creating an asset zip file for my lambda. Running deploy in verbose mode, i can see the last debug message printed:
Preparing zip asset from directory: cdk.out/asset.357a0d25d1...
-
Please tell us about your environment:
- CDK CLI Version: 0.36.0
- Module Version: 0.36.0
- OS: Antergos (Arch Linux)
- Language: Typescript
-
Other information After looking through the corresponding source code (here) it seems like the process is crashing completely, as the
finally
statement (removing the staging directory in/tmp
) is’nt run, the directory still exists. I’ve made sure there is enough disk space in/tmp
and it is writable.
Issue Analytics
- State:
- Created 4 years ago
- Comments:53 (28 by maintainers)
Top Results From Across the Web
Editor crashes if Unity is closed in the middle of exporting ...
The editor crashes because of closing the editor while exporting a package. It crashes because we try to access a reference to AsyncReadManager...
Read more >Android App suddenly crashes when compiling in Release ...
My App was working fine when build to release mode, and both when downloading from Google play store or from a Android device...
Read more >ESXi 6.7 U2 Web client crashes when importing OVF
The same OAV deployed via cli 'ovftools' and the VM working fine. Cause: Possibly unhandled rejection: {}. Version: 1.33.3. Build: 12923304.
Read more >Delphi deployment and Android file storage - Stack Overflow
GetDocumentsPath to get the folder where the deployed file exists at runtime. ... GetDocumentsPath, 'assets.zip'); if (FileExists(S4)) then.
Read more >Crashes - Android Developers
An app crash on an Android device. An app doesn't need to be running in the foreground for it to crash. Any app...
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
@jogold I can provide you with the content of the folder on which I always can reproduce this issue (this is node_modules for my project, I also verified that issue remains after I unzip content).
https://drive.google.com/open?id=1LPF5cJX9jZAEPscgp4vJlytJTq0dmZVo
As for the code - I used this one: (based on
aws-cdk/lib/archive.js:36
)The ‘Done’ is never printed for that folder, works fine with other
Some more observations:
Ubuntu 18.04.1 LTS
, I have a feeling that it can be a platform-related issueBoth don’t get called