Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running cdktf-cli #1472

Closed
successx opened this issue Jan 10, 2022 · 4 comments
Closed

Problem running cdktf-cli #1472

successx opened this issue Jan 10, 2022 · 4 comments
Assignees
Labels

Comments

@successx
Copy link

successx commented Jan 10, 2022

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

Happy new year everyone. I've just needed to update some aws resources in new year and got this problem running cdktf-cli. Looks like there is problem with jsii that has dependency on latest version of colors (1.4.2) that cause the issue. Please be careful with this!

cdktf & Language Versions

cdktf: 0.6.4 & 0.8.6
terraform: v1.0.7, v1.1.3
node: v14 & v16
platform: linux, macos

Affected Resource(s)

cdktf-cli

Expected Behavior

Command line should work normally when fresh install node_modules.

Actual Behavior

When fresh install node_modules, cdktf-cli stop working and throw dangerous logs:
* * * * |---------------------| H|§|§|§|H H|* * * * * *|---------------------| H|H|H|H|H H| * * * * * |---------------------| H|H|H|H|H H|---------------------------------| =============== H|---------------------------------| /| _ _ | H|---------------------------------| (| O O |) H|---------------------------------| /| U | H----------------------------------- | =/ | H _..._/ H _|I/|_ H _______/| H |/_______ H / / / H | | | / | H | ||o|| | H | | ||o|| | | H | | ||o|| | | H Carl Pilcher t͌͂͒eͪ͆ͦ̄šͬt̐̓i̾͆n͐̋g̿̎ ҉̠̰͎ ̓ͪtͤ̊eͭ̓̍s͐̈̅t̑͐i͌̎n̈͌̎g̀ͫ ͊t̿͋eͧ̋ṡͪ ҉ ҉̥̤t̓̐ ҉͉̭͠i͊̂nͤ̔g̉̒ ͯ̂͛t̏͛e̎̚s͒̔t̍͒ ҉̳̟̦͉i͑̔n̑ͧg͛ͬ ͮ̀ṫ̎eͫ͆͐ ҉ ҉̸̢ ҉̰͎̞ŝ̍ͬ̓tͮ̑iͪ̋n͋͌gͧ̚ ̏͆̚t̂̏e̿͂s̏ͧ̀t̓ͥͧȉ̀n͒̃̓̀g̓̓ ̽̔ ҉͝ ҉̦̖tͧ̂ëͨs̆̉t̾̔i͌ͥn̎̎ ҉̨̀g̈̂

Steps to Reproduce

  1. Fresh install node_modules inside repository. Run cdktf help throws above logs. (any other cli commands have the same problem)
  2. Install cdktf global, same problem
  3. Upgrade node, same problem
  4. Try on different machine (kbuntu 20.04, macos), same problem

Linked issues

Marak/colors.js#285

@successx successx added bug Something isn't working new Un-triaged issue labels Jan 10, 2022
@ansgarm ansgarm self-assigned this Jan 10, 2022
@ansgarm
Copy link
Member

ansgarm commented Jan 10, 2022

Hi @successx 👋
Thank you for bringing this to our attention. It seems that this has been fixed in JSII.
I couldn't reproduce it anymore. Can you confirm that it was fixed?

@ansgarm
Copy link
Member

ansgarm commented Jan 10, 2022

Sidenote: JSII is one of the dependencies that we don't bundle (else the bundling would have prevented this issue).

@ansgarm ansgarm added cdktf-cli waiting-on-answer and removed new Un-triaged issue labels Jan 10, 2022
@successx
Copy link
Author

Thanks. Confirmed the issue is resolved with latest jsii version.

@github-actions
Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants