-
Notifications
You must be signed in to change notification settings - Fork 245
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
Unhandled exception. Amazon.JSII.Runtime.JsiiError: Child process exited unexpectedly #4576
Comments
@ivanovvitaly Good morning. Thanks for opening the issue. Although, I'm unable to reproduce the issue:
Resources:
CDKMetadata:
Type: AWS::CDK::Metadata
Properties:
Analytics: v2:deflate64:H4sIAAAAAAAA/yXGsQ6CMBCA4Wdhp9dWjAmDg6muDGjYoZzJid6R9tCB+O6GmH/4/h34fQ2u6D/ZxHEyTxpgvWofpzLcucUsS4q4fRAeSUn4W55FG1R7AAeVt9BcbkESnubZdJgyCR/fFXjrwW0Vj0xk0sJKL4T27w9sliIieAAAAA==
Metadata:
aws:cdk:path: VitaliiIvanovStack/CDKMetadata/Default
Condition: CDKMetadataAvailable
Conditions:
CDKMetadataAvailable:
Fn::Or:
- Fn::Or:
- Fn::Equals:
- Ref: AWS::Region
- af-south-1
- Fn::Equals:
- Ref: AWS::Region
- ap-east-1
- Fn::Equals:
- Ref: AWS::Region
- ap-northeast-1
- Fn::Equals:
- Ref: AWS::Region
- ap-northeast-2
- Fn::Equals:
- Ref: AWS::Region
- ap-south-1
- Fn::Equals:
- Ref: AWS::Region
- ap-southeast-1
- Fn::Equals:
- Ref: AWS::Region
- ap-southeast-2
- Fn::Equals:
- Ref: AWS::Region
- ca-central-1
- Fn::Equals:
- Ref: AWS::Region
- cn-north-1
- Fn::Equals:
- Ref: AWS::Region
- cn-northwest-1
- Fn::Or:
- Fn::Equals:
- Ref: AWS::Region
- eu-central-1
- Fn::Equals:
- Ref: AWS::Region
- eu-north-1
- Fn::Equals:
- Ref: AWS::Region
- eu-south-1
- Fn::Equals:
- Ref: AWS::Region
- eu-west-1
- Fn::Equals:
- Ref: AWS::Region
- eu-west-2
- Fn::Equals:
- Ref: AWS::Region
- eu-west-3
- Fn::Equals:
- Ref: AWS::Region
- il-central-1
- Fn::Equals:
- Ref: AWS::Region
- me-central-1
- Fn::Equals:
- Ref: AWS::Region
- me-south-1
- Fn::Equals:
- Ref: AWS::Region
- sa-east-1
- Fn::Or:
- Fn::Equals:
- Ref: AWS::Region
- us-east-1
- Fn::Equals:
- Ref: AWS::Region
- us-east-2
- Fn::Equals:
- Ref: AWS::Region
- us-west-1
- Fn::Equals:
- Ref: AWS::Region
- us-west-2
Parameters:
BootstrapVersion:
Type: AWS::SSM::Parameter::Value<String>
Default: /cdk-bootstrap/hnb659fds/version
Description: Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]
Rules:
CheckBootstrapVersion:
Assertions:
- Assert:
Fn::Not:
- Fn::Contains:
- - "1"
- "2"
- "3"
- "4"
- "5"
- Ref: BootstrapVersion
AssertDescription: CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI. I changed
It appears that the default value of So looks like the other issue #1296 was not reopened after comment by other AWS SDK engineer. I will transfer this issue to JSII repository. Thanks, |
@ashishdhingra Thanks a lot troubleshooting and quick response! |
Describe the bug
I'm trying to walk through the CDK sample tutorial for the dotnet and getting an error when running
cdk synth
.Expected Behavior
The command runs successfully and produces CloudFormation template
Current Behavior
cdk synth
fails with an errorafter trying several times the error might be shorter like this
Reproduction Steps
cdk init app --language csharp
dotnet build src
cdk synth
orcdk list
Possible Solution
No response
Additional Information/Context
My home folder is
C:\Users\Vitalii Ivanov
, I suspect the space in my username causes the issue, but only fordotnet
project.CDK CLI Version
2.149.0 (build c8e5924)
Framework Version
No response
Node.js Version
20.15.1
OS
windows 11 - 22H2 (22621.3880)
Language
.NET
Language Version
.net 6
Other information
I wasn't able to reproduce the issue for the
typescript
project on the same machine.cdk init
generates .net 6 project, upgrading to .net 8 doesn't help.I tried to change the temporary folder location as described here and after that
cdk synth
produced CF template successfully for the dotnet project.The text was updated successfully, but these errors were encountered: