-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(cdk synth): (Unexpected token '?' Subprocess exited with error 1) #20852
Comments
Upgrading our environment to Node 14 should have fixed this as per the articles I have read in this forum. However, now the error has gotten even more cryptic. A bunch of warnings and then a failure:
Any updates at all? |
Please see this thread for more information and concerns, there's some good discussion here #20739 |
|
Describe the bug
Getting this error in our Code Pipeline build process:
Unexpected token '?' Subprocess exited with error 1
. The issue appears to be related to #20681 but I fail to see from that issue how it can be resolved without needing to upgrade Node.js to a higher version.This had been working up until a few days ago.
Expected Behavior
The build process should have succeeded.
Current Behavior
Build stage fails.
Reproduction Steps
npx cdk synth --verbose
produces the following output:Possible Solution
No response
Additional Information/Context
CDK CLI Version
1.100.0
Framework Version
No response
Node.js Version
14.18.21
OS
CodePipeline
Language
Typescript
Language Version
4.0.3
Other information
No response
The text was updated successfully, but these errors were encountered: