aws-cdk-github-actions icon indicating copy to clipboard operation
aws-cdk-github-actions copied to clipboard

Inability to specify typescript version causes deploy failure

Open snadbad opened this issue 3 years ago • 2 comments

The action installs the latest typescript which was causing a CDK deploy failure on my end with:

Debug Failure. False expression: Non-string value passed to ts.resolveTypeReferenceDirective, likely by a wrapping package working with an outdated resolveTypeReferenceDirectives signature. This is probably not a problem in TS itself.

Testing locally passed until I tried with the latest version of typescript which also failed. Please consider adding a parameter for preferred TS version similar to CDK version to install.

snadbad avatar May 25 '22 16:05 snadbad

I am having this problem as well, had to upgrade to TS 4 for another library. Now my build works but CDK deploy is failing with this error. Is there a solution to it?

gbisaga avatar May 31 '22 14:05 gbisaga

I made a github action that essentially does all of the same steps but allows me to peg a working TS version.

snadbad avatar May 31 '22 17:05 snadbad