You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into an issue when trying to run the cdk action in plan-only mode.
Error: 022-08-01T15:23:24.626] [ERROR] default - TSError: ⨯ Unable to compile TypeScript:
Error: src/stacks/baseStack.ts(10,27): error TS2307: Cannot find module '../../.gen/modules/labelNull' or its corresponding type declarations.
From what I understand from the source code, it seems as though cdktf get is not run by the action and therefore the required modules are not compiled into JSII.
Is there a way to configure the action to run cdktf get before running a plan or deploy?
The text was updated successfully, but these errors were encountered:
Sorry for the late reply! You would need to do get as an extra step before the action is invoked. I'll adjust the examples to include get specifically (I normally have get set up as a postinstall command)
I'm going to lock this issue because it has been closed for at least 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue so we can investigate further.
I'm running into an issue when trying to run the cdk action in
plan-only
mode.From what I understand from the source code, it seems as though
cdktf get
is not run by the action and therefore the required modules are not compiled into JSII.Is there a way to configure the action to run
cdktf get
before running a plan or deploy?The text was updated successfully, but these errors were encountered: