-
Notifications
You must be signed in to change notification settings - Fork 450
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
Cdktf get: Cannot read property 'dots' of undefined #1113
Comments
This seems likely to be caused by vadimdemedes/ink-spinner#12.
|
hey @jsteinich , I tried |
Hey, @nadworny
cdktf-cli and cli-spinners should be in one command I guess |
Hi!
(Running For users of other languages I just added a similar hard dependency to #881 would probably have prevented this kind of issue – and should prevent this in the future. |
The pre-release version is available as |
Hi @dzirg44! |
Is this going to be applied only to version |
workaroundin the folder global e.g. /home/YOURUSER/.nvm/versions/node/v12.16.3/lib/node_modules/cdktf-cli/node_modules/ink-spinner/build/index.js change the line 12 from this const spinner = cli_spinners_1.default[type]; to this const spinner = cli_spinners_1['dots']; ps: i know that is dirty, but it works 😁 |
@ansgarm it seems that it resolved the issue, although I faced with another issue
in the |
Hi @sergio-deras! |
@ansgarm no on |
Oh, sounds like something else – feel free to file an issue either way. Even if you encounter that there was some kind of loop in your code or so. So that we can see whether we could've prevented it somehow 🕵️ |
Going to close this, as this has been fixed in |
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. |
Community Note
cdktf & Language Versions
Affected Resource(s)
cdktf get
- stepDebug Output
https://gist.github.com/dzirg44/0d3d67950620e701e11b25c17be90064
Expected Behavior
Get required providers/modules
Actual Behavior
Error
Steps to Reproduce
Important Factoids
I use
Fedora 34
The text was updated successfully, but these errors were encountered: