0.20.7
(node:529691) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
/home/rom/.local/share/pnpm/global/5/.pnpm/cdktf-cli@0.20.7_ink@3.2.0_react@17.0.2/node_modules/cdktf-cli/bundle/bin/cdktf
at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)
at Module._load (node:internal/modules/cjs/loader:1012:27)
at Module.require (node:internal/modules/cjs/loader:1271:19)
at require (node:internal/modules/helpers:123:16)
at Object. (/home/rom/.local/share/pnpm/global/5/.pnpm/@cdktf+node-pty-prebuilt-multiarch@0.10.1-pre.11/node_modules/@cdktf/node-pty-prebuilt-multiarch/src/prebuild-loader.ts:9:11)
at Module._compile (node:internal/modules/cjs/loader:1434:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)
at Module.load (node:internal/modules/cjs/loader:1249:32)
at Module._load (node:internal/modules/cjs/loader:1065:12)
at Module.require (node:internal/modules/cjs/loader:1271:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/rom/.local/share/pnpm/global/5/.pnpm/@cdktf+node-pty-prebuilt-multiarch@0.10.1-pre.11/node_modules/@cdktf/node-pty-prebuilt-multiarch/lib/prebuild-loader.js',
'/home/rom/.local/share/pnpm/global/5/.pnpm/@cdktf+node-pty-prebuilt-multiarch@0.10.1-pre.11/node_modules/@cdktf/node-pty-prebuilt-multiarch/lib/unixTerminal.js',
'/home/rom/.local/share/pnpm/global/5/.pnpm/@cdktf+node-pty-prebuilt-multiarch@0.10.1-pre.11/node_modules/@cdktf/node-pty-prebuilt-multiarch/lib/index.js',
'/home/rom/.local/share/pnpm/global/5/.pnpm/cdktf-cli@0.20.7_ink@3.2.0_react@17.0.2/node_modules/cdktf-cli/bundle/bin/cmds/handlers.js',
'/home/rom/.local/share/pnpm/global/5/.pnpm/cdktf-cli@0.20.7_ink@3.2.0_react@17.0.2/node_modules/cdktf-cli/bundle/bin/cdktf.js',
'/home/rom/.local/share/pnpm/global/5/.pnpm/cdktf-cli@0.20.7_ink@3.2.0_react@17.0.2/node_modules/cdktf-cli/bundle/bin/cdktf'
]
}
(node:529917) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Cannot find module '../build/Release/pty.node'
Require stack:
/home/rom/.local/share/pnpm/global/5/.pnpm/cdktf-cli@0.20.7_ink@3.2.0_react@17.0.2/node_modules/cdktf-cli/bundle/bin/cdktf
at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)
at Module._load (node:internal/modules/cjs/loader:1012:27)
at Module.require (node:internal/modules/cjs/loader:1271:19)
at require (node:internal/modules/helpers:123:16)
at Object. (/home/rom/.local/share/pnpm/global/5/.pnpm/@cdktf+node-pty-prebuilt-multiarch@0.10.1-pre.11/node_modules/@cdktf/node-pty-prebuilt-multiarch/src/prebuild-loader.ts:6:9)
at Module._compile (node:internal/modules/cjs/loader:1434:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)
at Module.load (node:internal/modules/cjs/loader:1249:32)
at Module._load (node:internal/modules/cjs/loader:1065:12)
at Module.require (node:internal/modules/cjs/loader:1271:19)
Collecting Debug Information...
node:internal/process/promises:391
triggerUncaughtException(err, true / fromPromise /);
^
/home/rom/.local/share/pnpm/global/5/.pnpm/cdktf-cli@0.20.7_ink@3.2.0_react@17.0.2/node_modules/cdktf-cli/bundle/bin/cdktf
at Module._resolveFilename (node:internal/modules/cjs/loader:1186:15)
at Module._load (node:internal/modules/cjs/loader:1012:27)
at Module.require (node:internal/modules/cjs/loader:1271:19)
at require (node:internal/modules/helpers:123:16)
at Object. (/home/rom/.local/share/pnpm/global/5/.pnpm/@cdktf+node-pty-prebuilt-multiarch@0.10.1-pre.11/node_modules/@cdktf/node-pty-prebuilt-multiarch/src/prebuild-loader.ts:6:9)
at Module._compile (node:internal/modules/cjs/loader:1434:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)
at Module.load (node:internal/modules/cjs/loader:1249:32)
at Module._load (node:internal/modules/cjs/loader:1065:12)
at Module.require (node:internal/modules/cjs/loader:1271:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/rom/.local/share/pnpm/global/5/.pnpm/@cdktf+node-pty-prebuilt-multiarch@0.10.1-pre.11/node_modules/@cdktf/node-pty-prebuilt-multiarch/lib/prebuild-loader.js',
'/home/rom/.local/share/pnpm/global/5/.pnpm/@cdktf+node-pty-prebuilt-multiarch@0.10.1-pre.11/node_modules/@cdktf/node-pty-prebuilt-multiarch/lib/unixTerminal.js',
'/home/rom/.local/share/pnpm/global/5/.pnpm/@cdktf+node-pty-prebuilt-multiarch@0.10.1-pre.11/node_modules/@cdktf/node-pty-prebuilt-multiarch/lib/index.js',
'/home/rom/.local/share/pnpm/global/5/.pnpm/cdktf-cli@0.20.7_ink@3.2.0_react@17.0.2/node_modules/cdktf-cli/bundle/bin/cmds/handlers.js',
'/home/rom/.local/share/pnpm/global/5/.pnpm/cdktf-cli@0.20.7_ink@3.2.0_react@17.0.2/node_modules/cdktf-cli/bundle/bin/cdktf.js',
'/home/rom/.local/share/pnpm/global/5/.pnpm/cdktf-cli@0.20.7_ink@3.2.0_react@17.0.2/node_modules/cdktf-cli/bundle/bin/cdktf'
]
}
Node.js v22.2.0
Providers
No response
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
Expected Behavior
No DeprecationWarning
Actual Behavior
There is DepricationWarning cdktf --version
Steps to Reproduce
pnpm add --global cdktf-cli@0.20.7 --ignore-scripts cdktf --version
Versions
language: typescript cdktf-cli: 0.20.7 node: 22.2.0 terraform: 1.8.4 arch: amd64 os: ubuntu 23.10
innerError Error: Cannot find module '../build/Debug/pty.node' Require stack:
punycode
module is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ...
to show where the warning was created) Cannot find module '../build/Release/pty.node' Require stack:Error: Cannot find module '../build/Release/pty.node' Require stack:
Node.js v22.2.0
Providers
No response
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
No response
References
No response
Help Wanted
Community Note