rubymaniac / vscode-direnv

Automatically detect and load your .envrc
MIT License
32 stars 11 forks source link

Error: direnv error: direnv: error Unknown target shell 'json' #2

Closed pckilgore closed 7 years ago

pckilgore commented 7 years ago

Contents of my .envrc for this project is pretty simple: layout python3

Let me know if/how to collect more information.

rubymaniac commented 7 years ago

What's your direnv version? (run direnv version)

Probably your version is < 2.8.0 and that is why it errors with Unknown target shell 'json'. Try to update direnv to the latest version.

This extension relies to the direnv export json command which got introduced at the 2.8.0 version.

pckilgore commented 7 years ago

Thanks! Xenial rolls with 2.7.0, upgrading to 2.10.0 fixes the error message.