Tfenv: DEBUG set to unexpected value causes meltdown

Created on 3 Sep 2020  ·  7Comments  ·  Source: tfutils/tfenv

After install tfenv using brew install tfenv

tfenv command not working and getting the following errors. Not sure what are these errors.

image

bug

All 7 comments

What bash version are you using? If you update to 5+, is it resolved?

Found the root cause for myself: there was DEBUG environment variable set to something tfenv was not expecting ("true").

also had the same error.

I run into this issue, too.
Should this project be using TFENV_DEBUG?

I'm experiencing the same issue, there's a conflict between Terraform tfenv and Node.js npm debug. tfenv expects the DEBUG environment variable to be an integer expression while the debug npm package expects the DEBUG environment variable to be a string which is used to enable/disable logging.

I too experienced this issue. The problem was not there in tfenv 2.2.0, but exists in 2.2.2 using any string value for DEBUG

@Zordrak since you assigned yourself this issue, I am just pointing out that I created PR #274 to fix this if you would be so kind as to review/approve :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gudlyf picture gudlyf  ·  10Comments

nitrocode picture nitrocode  ·  4Comments

larsLarski picture larsLarski  ·  3Comments

kamatama41 picture kamatama41  ·  15Comments

ibakayoko picture ibakayoko  ·  6Comments