Skip to content

Instantly share code, notes, and snippets.

@d8aninja
Created May 4, 2022 03:45
Show Gist options
  • Save d8aninja/f473f1a6d9a4e4987e4c191ae382f551 to your computer and use it in GitHub Desktop.
Save d8aninja/f473f1a6d9a4e4987e4c191ae382f551 to your computer and use it in GitHub Desktop.
cdktf init output
➜ test cdktf init
Welcome to CDK for Terraform!
By default, cdktf allows you to manage the state of your stacks using Terraform Cloud for free.
cdktf will request an API token for app.terraform.io using your browser.
If login is successful, cdktf will store the token in plain text in
the following file for use by subsequent Terraform commands:
/home/jvg/.terraform.d/credentials.tfrc.json
Note: The local storage mode isn't recommended for storing the state of your stacks.
? Do you want to continue with Terraform Cloud remote state management? No
? What template do you want to use? typescript
Initializing a project using the typescript template.
? Project Name test
? Project Description A simple getting started project for cdktf.
added 2 packages, and audited 54 packages in 2s
5 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/jest
npm ERR! dev jest@"^27.4.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer jest@"^28.0.0" from [email protected]
npm ERR! node_modules/ts-jest
npm ERR! dev ts-jest@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/jvg/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/jvg/.npm/_logs/2022-05-04T03_37_51_956Z-debug-0.log
Error: Command failed: npm install -D @types/node typescript jest@^27.4.3 @types/jest ts-jest ts-node
at checkExecSyncError (node:child_process:817:11)
at execSync (node:child_process:888:15)
at installDeps (/usr/local/lib/node_modules/cdktf-cli/templates/typescript/.hooks.sscaff.js:27:3)
at exports.post (/usr/local/lib/node_modules/cdktf-cli/templates/typescript/.hooks.sscaff.js:16:3)
at d (/usr/local/lib/node_modules/cdktf-cli/bundle/bin/cmds/handlers.js:115:53537)
at jWt (/usr/local/lib/node_modules/cdktf-cli/bundle/bin/cmds/handlers.js:115:53003)
at async jJ (/usr/local/lib/node_modules/cdktf-cli/bundle/bin/cmds/handlers.js:397:4)
at async CBe (/usr/local/lib/node_modules/cdktf-cli/bundle/bin/cmds/handlers.js:416:825)
at async Object.ohr (/usr/local/lib/node_modules/cdktf-cli/bundle/bin/cmds/handlers.js:419:17831)
Debug Information:
Terraform CDK version: 0.10.2
Terraform version: 1.1.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment