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've tried a number of variations of the above. "source: oracle/oci" and not having a "localProviderPath" (downloaded the provider manually), downgraded cdktf-cli (from 0.20.11 to 0.20.1) but I can't get cdktf get to work.
Steps to Reproduce
Specify OCI as a provider and do a cdktf get
output (eventually, takes quite a while):
NOTE: Temp directory retained due to an error: /tmp/temp-5kEKyD
Error: jsii compilation failed with non-zero exit code: 1
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| !! !!
| !! This software has not been tested with node v22.14.0. !!
| !! Should you encounter odd runtime issues, please try using one of the supported release before filing a bug report. !!
| !! !!
| !! This software is currently running on node v22.14.0. !!
| !! As of the current release of this software, supported node releases are: !!
| !! - ^20.0.0 (Planned end-of-life: 2026-04-30) !!
| !! - ^18.0.0 (Planned end-of-life: 2025-04-30) !!
| !! !!
| !! This warning can be silenced by setting the JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION environment variable. !!
| !! !!
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| !! !!
| !! The 5.3 release line of jsii has reached End-of-Support. !!
| !! We strongly recommend you upgrade to the current release line (5.7) at your earliest convenience. !!
| !! !!
| !! Other actively supported release lines include: !!
| !! - 5.5 (planned End-of-Support date: 2025-05-15T00:00:00.000Z) !!
| !! - 5.6 (planned End-of-Support date: 2025-07-01T00:00:00.000Z) !!
| !! !!
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| [2025-02-17T13:52:48.091] [ERROR] jsii/compiler - Compilation errors prevented the JSII assembly from being created
| warning JSII6: A "peerDependency" on "constructs" at "10.1.167" means you should take a "devDependency" on "constructs" at "10.1.167" (found "undefined")
| warning JSII6: A "peerDependency" on "cdktf" at "0.20.1" means you should take a "devDependency" on "cdktf" at "0.20.1" (found "undefined")
| warning JSII3: There is no "README.md" file. It is required in order to generate valid PyPI (Python) packages.
| providers/oci/data-oci-objectstorage-private-endpoint-summaries/index.ts:201:30 - error TS2339: Property 'StringMapMapMap' does not exist on type 'typeof import("/tmp/temp-5kEKyD/node_modules/cdktf/lib/index")'.
| 201 private _fqdns = new cdktf.StringMapMapMap(this, "fqdns");
| ~~~~~~~~~~~~~~~
| providers/oci/data-oci-objectstorage-private-endpoint/index.ts:196:30 - error TS2339: Property 'StringMapMapMap' does not exist on type 'typeof import("/tmp/temp-5kEKyD/node_modules/cdktf/lib/index")'.
| 196 private _fqdns = new cdktf.StringMapMapMap(this, "fqdns");
| ~~~~~~~~~~~~~~~
+----------------------------------------------------------------------------------
| Command: /home/awilson/.local/share/fnm/node-versions/v22.14.0/installation/lib/node_modules/cdktf-cli/node_modules/jsii/bin/jsii --silence-warnings reserved-word
| Workdir: /tmp/temp-5kEKyD
+----------------------------------------------------------------------------------
at d (/home/awilson/.local/share/fnm/node-versions/v22.14.0/installation/lib/node_modules/cdktf-cli/bundle/bin/cmds/handlers.js:110:1586)
at ChildProcess. (/home/awilson/.local/share/fnm/node-versions/v22.14.0/installation/lib/node_modules/cdktf-cli/bundle/bin/cmds/handlers.js:113:112)
at Object.onceWrapper (node:events:633:26)
at ChildProcess.emit (node:events:518:28)
at ChildProcess.emit (node:domain:489:12)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)
⠦ downloading and generating modules and providers...
Error: jsii compilation failed with non-zero exit code: 1
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| !! !!
| !! This software has not been tested with node v22.14.0. !!
| !! Should you encounter odd runtime issues, please try using one of the supported release before filing a bug report. !!
| !! !!
| !! This software is currently running on node v22.14.0. !!
| !! As of the current release of this software, supported node releases are: !!
| !! - ^20.0.0 (Planned end-of-life: 2026-04-30) !!
| !! - ^18.0.0 (Planned end-of-life: 2025-04-30) !!
| !! !!
| !! This warning can be silenced by setting the JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION environment variable. !!
| !! !!
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| !! !!
| !! The 5.3 release line of jsii has reached End-of-Support. !!
| !! We strongly recommend you upgrade to the current release line (5.7) at your earliest convenience. !!
| !! !!
| !! Other actively supported release lines include: !!
| !! - 5.5 (planned End-of-Support date: 2025-05-15T00:00:00.000Z) !!
| !! - 5.6 (planned End-of-Support date: 2025-07-01T00:00:00.000Z) !!
| !! !!
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| [2025-02-17T13:52:48.091] [ERROR] jsii/compiler - Compilation errors prevented the JSII assembly from being created
| warning JSII6: A "peerDependency" on "constructs" at "10.1.167" means you should take a "devDependency" on "constructs" at "10.1.167" (found "undefined")
| warning JSII6: A "peerDependency" on "cdktf" at "0.20.1" means you should take a "devDependency" on "cdktf" at "0.20.1" (found "undefined")
| warning JSII3: There is no "README.md" file. It is required in order to generate valid PyPI (Python) packages.
| providers/oci/data-oci-objectstorage-private-endpoint-summaries/index.ts:201:30 - error TS2339: Property 'StringMapMapMap' does not exist on type 'typeof import("/tmp/temp-5kEKyD/node_modules/cdktf/lib/index")'.
| 201 private _fqdns = new cdktf.StringMapMapMap(this, "fqdns");
| ~~~~~~~~~~~~~~~
| providers/oci/data-oci-objectstorage-private-endpoint/index.ts:196:30 - error TS2339: Property 'StringMapMapMap' does not exist on type 'typeof import("/tmp/temp-5kEKyD/node_modules/cdktf/lib/index")'.
| 196 private _fqdns = new cdktf.StringMapMapMap(this, "fqdns");
| ~~~~~~~~~~~~~~~
+----------------------------------------------------------------------------------
| Command: /home/awilson/.local/share/fnm/node-versions/v22.14.0/installation/lib/node_modules/cdktf-cli/node_modules/jsii/bin/jsii --silence-warnings reserved-word
| Workdir: /tmp/temp-5kEKyD
+----------------------------------------------------------------------------------
┌───────────────┬──────────────────┬───────┬────────────┬──────────────┬─────────────────┐
│ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │
├───────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤
│ oci │ │ │ │ │ │
└───────────────┴──────────────────┴───────┴────────────┴──────────────┴─────────────────┘
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
No response
References
No response
Help Wanted
I'm interested in contributing a fix myself
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
Expected Behavior
cdktf get
should build the oci provider.Actual Behavior
Trying to get familiar with CDKTF and OCI. Created a simple main.py and have this in cdktf.json:
I've tried a number of variations of the above. "source: oracle/oci" and not having a "localProviderPath" (downloaded the provider manually), downgraded cdktf-cli (from 0.20.11 to 0.20.1) but I can't get
cdktf get
to work.Steps to Reproduce
Specify OCI as a provider and do a
cdktf get
output (eventually, takes quite a while):
Versions
language: python
cdktf-cli: 0.20.1 & 0.20.11
node: v22.14.0
cdktf: 0.20.1 & 0.20.11
constructs: 10.1.167
jsii:
├─┬ [email protected]
│ ├─┬ @cdktf/[email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├─┬ @cdktf/[email protected]
│ │ ├─┬ @cdktf/[email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
└── [email protected]
terraform: v1.10.5
arch: amd64
os: Oracle Linux 9.2 (WSL2)
Providers
Manually downloded oci v6.26.0
but
cdktf provider list
shows:┌───────────────┬──────────────────┬───────┬────────────┬──────────────┬─────────────────┐
│ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │
├───────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤
│ oci │ │ │ │ │ │
└───────────────┴──────────────────┴───────┴────────────┴──────────────┴─────────────────┘
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
No response
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: