Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Inability to specify typescript version causes deploy failure #54

Open
snadbad opened this issue May 25, 2022 · 2 comments
Open

Inability to specify typescript version causes deploy failure #54

snadbad opened this issue May 25, 2022 · 2 comments

Comments

@snadbad
Copy link

snadbad commented May 25, 2022

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.

@gbisaga
Copy link

gbisaga commented May 31, 2022

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?

@snadbad
Copy link
Author

snadbad commented May 31, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants