A similar error has been discussed once before (https://github.com/PedramNavid/dbtpal/pull/17#issuecomment-1493688049), with a comment left stating that the error will be displayed in a pop-up. It looks like mine is still being thrown in the editor itself when running :lua require('dbtpal.telescope').dbt_picker().
Error executing vim.schedule lua callback: Vim:E474: Unidentified byte: ^[[0m04:37:13 Running with dbt=1.7.8
stack traceback:
[C]: in function 'json_decode'
/Users/_/workspace/dbtpal/lua/dbtpal/telescope.lua:25: in function 'entry_maker'
...scope.nvim/lua/telescope/finders/async_static_finder.lua:17: in function 'new_table'
/Users/_/workspace/dbtpal/lua/dbtpal/telescope.lua:21: in function 'dbt_models'
/Users/_/workspace/dbtpal/lua/dbtpal/telescope.lua:65: in function </Users/_/workspace/dbtpal/lua/dbtpal/telesc
ope.lua:65>
When I issue the dbt ls --resource-type=model --output=json command in the terminal directly, no error is produced, but there is some non-json text. I believe that is why the error happens.
A similar error has been discussed once before (https://github.com/PedramNavid/dbtpal/pull/17#issuecomment-1493688049), with a comment left stating that the error will be displayed in a pop-up. It looks like mine is still being thrown in the editor itself when running
:lua require('dbtpal.telescope').dbt_picker()
.When I issue the
dbt ls --resource-type=model --output=json
command in the terminal directly, no error is produced, but there is some non-json text. I believe that is why the error happens.