vtex / toolbelt

CLI for creating and managing VTEX apps
MIT License
59 stars 22 forks source link

Unhandled exception when using the command vtex workspace list #1210

Closed guioliveira-xyz closed 6 months ago

guioliveira-xyz commented 7 months ago

I'm following the VTEX IO learning path. I managed to successfully create a new workspace. But when I try to run vtex workspace list or vtex workspace ls it returns the following:

C:\Users\guilherme.oliveira>vtex workspace list 22:03:43.603 - error: Unhandled exception 22:03:43.605 - error: Please report the issue in https://github.com/vtex/toolbelt/issues 22:03:43.607 - error: Raw error: stripped.split is not a function TypeError: stripped.split is not a function at Object.exports.strlen (C:\node_modules\cli-table\lib\utils.js:85:24) at get_width (C:\node_modules\cli-table\lib\index.js:138:70) at C:\node_modules\cli-table\lib\index.js:131:68 at Array.forEach () at extractColumnWidths (C:\node_modules\cli-table\lib\index.js:130:9) at C:\node_modules\cli-table\lib\index.js:104:11 at Array.forEach () at Table.toString (C:\node_modules\cli-table\lib\index.js:101:16) at C:\Program Files\vtex\client\node_modules\@vtex\cli-plugin-workspace\build\modules\list.js:19:39 at processTicksAndRejections (internal/process/task_queues.js:93:5) 22:03:43.615 - error: ErrorID: a4920d551cc4cb0f6c1c50f4e31cd65f

Expected Behavior

As mentioned here, on the Command Reference, it should list all my existing workspaces.

Current Behavior

It returns the aforementioned error.

Possible Solution

Steps to Reproduce (for bugs)

As simples as running vtex workspace list

Context

Your Environment

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.