(cdk synth): (Unexpected token '?' Subprocess exited with error 1) #20681
Labels
bug
This issue is a bug.
package/tools
Related to AWS CDK Tools or CLI
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
Cdk synthesize fails with the following error.
Unexpected token '?'
Subprocess exited with error 1
Error: Subprocess exited with error 1
at ChildProcess. (/opt/atlassian/pipelines/agent/build/cdk/node_modules/aws-cdk/lib/api/cxapp/exec.ts:122:23)
at ChildProcess.emit (events.js:314:20)
at ChildProcess.EventEmitter.emit (domain.js:483:12)
at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
Expected Behavior
Cdk synth should succeed
Current Behavior
errors out -
Unexpected token '?'
Subprocess exited with error 1
Error: Subprocess exited with error 1
at ChildProcess. (/opt/atlassian/pipelines/agent/build/cdk/node_modules/aws-cdk/lib/api/cxapp/exec.ts:122:23)
at ChildProcess.emit (events.js:314:20)
at ChildProcess.EventEmitter.emit (domain.js:483:12)
at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
Reproduction Steps
npm run cdk synth -- --verbose
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
1.87.0
Framework Version
No response
Node.js Version
12.22.12
OS
Alpine
Language
Typescript
Language Version
4.1.2
Other information
Related issue (#20678)
The text was updated successfully, but these errors were encountered: