When creating a new CDK project the intial build falis.
It fails in the same way if I try to execute cdk ls
in the created project directory afterwards.
Complete log here
My laptop:
Ubuntu 18.04 in EC2:
I've tried both locally and on a newly started EC2 instance and get the same error. I've dug around a bit with the Java debugger and managed to extract stderr from JsiiRuntime.java which says this:
internal/fs/utils.js:220
throw err;
^
Error: EAGAIN: resource temporarily unavailable, read
at Object.readSync (fs.js:516:3)
at SyncStdio.readLine (/tmp/jsii-java-runtime7279641471746997836/jsii-runtime.js:13322:25)
at InputOutput.read (/tmp/jsii-java-runtime7279641471746997836/jsii-runtime.js:13272:34)
at KernelHost.run (/tmp/jsii-java-runtime7279641471746997836/jsii-runtime.js:7228:32)
at Immediate.<anonymous> (/tmp/jsii-java-runtime7279641471746997836/jsii-runtime.js:7236:37)
at processImmediate (internal/timers.js:439:21) {
errno: -11,
syscall: 'read',
code: 'EAGAIN'
}
This is :bug: Bug Report
Looks like a dup of https://github.com/aws/aws-cdk/issues/5187. Can you try to downgrade your node v13.1.0 or less and see if this is resolved. Reopen if this is a different issue.
Most helpful comment
Looks like a dup of https://github.com/aws/aws-cdk/issues/5187. Can you try to downgrade your node v13.1.0 or less and see if this is resolved. Reopen if this is a different issue.