Open Rom888 opened 1 month ago
Hi @Rom888 👋
Thank you for raising this. It seems like you are using Node.js v22, for which we don't have prebuild bindings at this time at all in the cdktf/node-pty-prebuilt-multiarch library. The simplest fix would be to use Node.js v20 for the CDKTF CLI.
That said, the package should build the binaries during post-install as a fallback but it seems like pnpm didn't run the postinstall script? We don't officially support pnpm at this time, so you might need to adjust some settings for it or use npm to install the CDKTF CLI.
Expected Behavior
No error
Actual Behavior
pnpm add --global cdktf-cli@0.20.7
Steps to Reproduce
pnpm add --global cdktf-cli@0.20.7
Versions
language: typescript cdktf-cli: 0.20.7 node: 22.2.0 terraform: 1.8.4 arch: amd64 os: ubuntu 23.10
Providers
No response
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
No response
References
No response
Help Wanted
Community Note