question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jest dependencies breaking cdktf init in fresh directory

See original GitHub issue

TL;DR: When in a fresh directory, calling cdktf init seems to break immediately on failure to build an acceptable dependency tree for the testing suite jest.

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

cdktf & Language Versions

0.10.2

Affected Resource(s)

  • the CDK project itself

Debug Output

https://gist.github.com/d8aninja/f473f1a6d9a4e4987e4c191ae382f551

Expected Behavior

Successful initialization of the cdktf project.

Actual Behavior

Error output indicating jest dependencies were surfaced.

Steps to Reproduce

Shown; cdktf init is called in a fresh directory.

Important Factoids

Worth noting that I can still cdktf deploy after this error is reported.

OS Info: Linux pop-os 5.16.19-76051619-generic #202204081339~1649696161~22.04~091f44b SMP PREEMPT Mon Apr 11 17 x86_64 x86_64 x86_64 GNU/Linux

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:6
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
d8aninjacommented, May 8, 2022

amazing turn-around @ansgarm, really appreciate you all working so quickly to fix this. thanks!

2reactions
ansgarmcommented, May 4, 2022

CDKTF v0.10.4 is out 🎉

You can now either upgrade to that version or use the workaround template I posted above 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

aws cdk 2.0 init app fails to build with prettier issues, which is ...
Watching for file changes. I noticed prettier is coming from jest-snapshot in package-lock.json : "node_modules/jest ...
Read more >
AWS Cloud Development Kit (AWS CDK) v2 - Developer Guide
Creating a project also installs the aws-cdk-lib module and its dependencies. cdk init uses the name of the project folder to name various...
Read more >
Tag Archives: AWS Cloud Development Kit - Noise
Deploying this application will create the required components described in this post. For a list of the deployment prerequisites, see the project README....
Read more >
Compare Packages Between Distributions - DistroWatch.com
A complete package list for further comparison is available. ... asdf-dependency-grovel-20170403-git asdf-driver-3.3.6 ... awesomium-raw-0.1.0.0 awf-1.4.0
Read more >
All tags on dev.to 25000 - Discover gists
... #netcore #project #jest #article #blackfriday #designpatterns #adoption ... #homelab #dependencies #bluetooth #dogelonmarselon #glitch #solanasolcoin ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found