"Error: EOF: end of file, read" in jsii after upgrading aws cdk to 1.71.0
See original GitHub issueHi,
After upgrading aws cdk to 1.71.0 I started getting the error below from jsii.
Reproduction Steps
Upgrade aws cdk to 1.71.0. It will install version 1.14.0 of jsii which it depends on.
Trying to downgrade jsii to version 1.13.0 with aws cdk 1.71.0 returns:
aws-cdk-core 1.71.0 depends on jsii<2.0.0 and >=1.14.0
(jsii 1.14.0 was released on 29th of Oct 2020)
What did you expect to happen?
I expected bootstrap to complete without errors.
What actually happened?
(.env) PS C:\Users\jfroland\Documents\code\cdk\push-app-stats> cdk bootstrap
C:\Users\jfroland\Documents\code\cdk\push-app-stats\.env\lib\site-packages\jsii\_embedded\jsii\jsii-runtime.js:13295
throw e;
^
Error: EOF: end of file, read
at Object.readSync (fs.js:568:3)
at SyncStdio.readLine (C:\Users\jfroland\Documents\code\cdk\push-app-stats\.env\lib\site-packages\jsii\_embedded\jsii\jsii-runtime.js:13278:33)
at InputOutput.read (C:\Users\jfroland\Documents\code\cdk\push-app-stats\.env\lib\site-packages\jsii\_embedded\jsii\jsii-runtime.js:13203:34)
at KernelHost.run (C:\Users\jfroland\Documents\code\cdk\push-app-stats\.env\lib\site-packages\jsii\_embedded\jsii\jsii-runtime.js:13021:32)
at Immediate.<anonymous> (C:\Users\jfroland\Documents\code\cdk\push-app-stats\.env\lib\site-packages\jsii\_embedded\jsii\jsii-runtime.js:13029:37)
at processImmediate (internal/timers.js:456:21) {
errno: -4095,
syscall: 'read',
code: 'EOF'
}
⏳ Bootstrapping environment aws://<account_id>/<region>...
CDKToolkit: creating CloudFormation changeset...
✅ Environment aws://<account_id>/<region> bootstrapped (no changes).
(.env) PS C:\Users\jfroland\Documents\code\cdk\push-app-stats>
Environment
- Framework Version: 1.71.0
- Node.js Version: v12.18.3
- OS : Win10
- Python (Version): 3.6.8
Other
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Troubleshooting common AWS CDK issues
This topic describes how to troubleshoot the following issues with the AWS CDK. After updating the AWS CDK, the AWS CDK Toolkit (CLI)...
Read more >@jsii/check-node | Yarn - Package Manager
This package can be used to check whether the node runtime used to run an application is known to be compatible with the...
Read more >Returns JSII error when attempting to create empty stack with ...
I have re-installed aws cli, cdk and nodejs. Any suggestions on what to look for? Steps to reproduce: mkdir myfolder cdk init --language...
Read more >jsii - PyPI
AWS CDK Automation... Aaron Costley... Abdallah Hodieb · 🐛 Adam Ruka...
Andrew Wason · 🐛 💻 Andy Slezak · 💻 Ansgar Mertens... Anshul Guleri...
Ben...
Read more >How to upgrade CDK from CDKv1 to CDKv2 in an existing ...
On december 2nd AWS announced the general availability of upgrading CDK version 2. This blog describes how to upgrade to CDKv2.
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
I have this issue as well and just tested it with jsii 1.14.1 and cdk 1.72.0 on windows.
The problem still occurs and doesn’t seem to be fixed.
⚠️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.